Thomas Porzelt
383fa6a4f5
- introduce throttling via pools, rework throttling by connection
...
- new actions: 'throttle_pool', 'throttle_connection' and 'status'
- don't start waitqueue timer in waitqueue_init(); start/stop timer on demand
- new parameter for network_write(): write_max
- move stats and timeout handling from network_write/read() to connection_cb()
14 years ago
Stefan Bühler
595ce1fe13
Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con
14 years ago
Stefan Bühler
4e04ac6b8b
cmake: use builtin macros for build date
14 years ago
Stefan Bühler
7aaa764f49
Added vrequest_joblist_append_async (with a vrequest-reference handling)
14 years ago
Thomas Porzelt
f07f4d4971
[mod_vhost] Fix vhost.pattern again (build physical.path)
14 years ago
Thomas Porzelt
d1df9e2274
[mod_vhost] Fix vhost.pattern action
14 years ago
Thomas Porzelt
5ada6b02bd
fix possible stop of waitqueue timer through ev_timer_again() when t->repeat = 0; set minimum intervall to 0.01 seconds
14 years ago
Stefan Bühler
194db07279
Use GByteArray in mod_fastcgi
14 years ago
Stefan Bühler
611d7dcac3
Recode the sockaddr handling, fixing some bugs
14 years ago
Stefan Bühler
293fabc963
Replace some uses of GString with GByteArray
14 years ago
Stefan Bühler
6a56aba0c3
Use 2^n-1 in GSring pre-allocations (so glib doesn't alloc 2^(n+1) for 2^n)
14 years ago
Stefan Bühler
02c8be5afd
Use prepared string for the local/remote socket address in mod_fastcgi
14 years ago
Stefan Bühler
691939dbdc
Rename MEM_CHUNK to STRING_CHUNK and add new MEM_CHUNK with GByteArray as content
...
- GByteArray doesn't have a terminating zero, so we save memory; especially
if the real size is 2^n, GString would allocate 2^(n+1) bytes.
14 years ago
Stefan Bühler
aee63756a0
Fix bug in ipv6 to string conversion
14 years ago
Thomas Porzelt
f44f620eda
[modules] add mod_debug
14 years ago
Thomas Porzelt
ab9a616f5d
optimize ram usage by freeing unused connections
14 years ago
Thomas Porzelt
97db5dab4e
reduce amount of preallocated memory in vr->physical struct
14 years ago
Thomas Porzelt
542031e8a3
fix memory leak in response_send_headers()
14 years ago
Thomas Porzelt
9f8413c112
[mod_status] add more info to connection list
14 years ago
Thomas Porzelt
0756c1039f
fix previous fix
14 years ago
Thomas Porzelt
ac22b5470c
fix new fd leak in core_handle_static()
14 years ago
Thomas Porzelt
ddb0448a96
rework stat_cache
14 years ago
Stefan Bühler
1c9d95c37a
Fix some uninitialized vars bugs in etag.c
14 years ago
Stefan Bühler
a0d963ef11
Fix printf checks with glib macro
14 years ago
Thomas Porzelt
a17e3fa44c
fix segfault due to ignoring a possible pointer change through realloc in l_g_string_append_int() from utils.c
14 years ago
Thomas Porzelt
5a0462688c
fix new statcache leaks in static action
14 years ago
Thomas Porzelt
7dd842229f
fix fd leak in static action when 304 is returned
14 years ago
Thomas Porzelt
0e03d1a362
[mod_dirlist] fix new leaks
14 years ago
Thomas Porzelt
2a55d1f693
[waf] add etag.c
14 years ago
Stefan Bühler
384bab3719
Forgot source/header for etag.{c,h}
14 years ago
Stefan Bühler
2995cb5ffa
Fix previous commit and static forbidden handling
14 years ago
Stefan Bühler
be8e8bb3ea
Return 404 if no action handled request
...
- This should make it really easy to handle static files + backend if not found:
static; fastcgi "foo";
14 years ago
Stefan Bühler
36ed72910a
Remove debug messages
14 years ago
Stefan Bühler
a62cdebb91
Fix static file/dirlist handling and add etag support
14 years ago
Stefan Bühler
325ec6a5b6
Add content-length in mod-cache-disk-etag
14 years ago
Stefan Bühler
5484e45e82
Fix some stat_cache bugs
14 years ago
Stefan Bühler
b423170266
Rewrite l_g_string_from_int to l_g_string_append_int
14 years ago
Stefan Bühler
e020850dc8
Add vrequest_is_handled function
14 years ago
Stefan Bühler
6a92322143
Reduce printf usage in mod_dirlist
14 years ago
Stefan Bühler
041681dc8f
Put the for loop in the case statements for the different encodings.
14 years ago
Stefan Bühler
9df3918e9b
Add l_g_string_from_int to utils - prints a gint64 to a GString
14 years ago
Stefan Bühler
669ff2e079
Fix mod-status collect handling
14 years ago
Stefan Bühler
d7e53a44de
Changed collect api: removed fdata_free (wasn't used) and return NULL from collect_start if collect finished before returning.
14 years ago
Stefan Bühler
171ab51db5
Fix segfault in mod_cache_disk_etag if no etag is present
14 years ago
Thomas Porzelt
ad80873036
fix counter formatter again... basic algebra fail, *sigh*
14 years ago
Thomas Porzelt
634b77abf5
fix status code for failed stat() in core_handle_static()
14 years ago
Thomas Porzelt
030e3cebf2
fix counter format output again
14 years ago
Thomas Porzelt
3629e1aebf
[mod_status] add scoreboard
14 years ago
Thomas Porzelt
4dc8c81569
fix counter format output with COUNTER_TIME and value 0
14 years ago
Thomas Porzelt
a9c75934a8
change counter format output
14 years ago