Stefan Bühler
75505f73e1
Add more angel connection handling code (and helper functions)
14 years ago
Stefan Bühler
40fbc9c8b7
Fixed the splitting from previous commit and splitted the ip parsers from condition handling
14 years ago
Stefan Bühler
d64f5d4788
Split lighttpd specific functions from utils into lighttpd-glue.
14 years ago
Stefan Bühler
c2ce9c4f53
Fix encoding functions (use _append for the append version); do not encode characters >= 0x80 for html.
14 years ago
Thomas Porzelt
ff39991ed0
[core] Add support for regex conditionals
14 years ago
Thomas Porzelt
fd8f6ed60f
[core] Change cond_lvalue_form_string() and move it from utils.c to condition.c
14 years ago
Thomas Porzelt
3efaf40853
[core] Add cond_lvalue_from_str() to utils
14 years ago
Thomas Porzelt
16097f84ea
[core] Fix erronous invisible char in settings.h
14 years ago
Thomas Porzelt
451cdd1579
[core] Add implementation of 32bit radix trees (radix.{h.c})
14 years ago
Thomas Porzelt
0e001f21e5
Fix two small typos in idlist.h comments
14 years ago
Stefan Bühler
7c27d1b342
Added "idlist": maange a list of used ids
14 years ago
Stefan Bühler
48bf0071e4
[angel] Add basic module/plugin support
...
* renamed some module functions
14 years ago
Thomas Porzelt
087f06a07d
Fix singness warnings
14 years ago
Stefan Bühler
c8d26383c3
Fix shadow warnings
14 years ago
Stefan Bühler
3a1af99500
Include <stdio.h> and <stdlib.h> in settings.h for everyone.
14 years ago
Stefan Bühler
dfb1db14d7
Use pointer-sign warning in cmake und fix many of them.
14 years ago
Stefan Bühler
0ec334c887
Killed sys-strings.h (replaced with glib functions)
14 years ago
Stefan Bühler
72136b4d03
angel: some basic structs, code not ready yet (config parser "works")
14 years ago
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
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
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
Thomas Porzelt
ab9a616f5d
optimize ram usage by freeing unused connections
14 years ago
Thomas Porzelt
ddb0448a96
rework stat_cache
14 years ago
Stefan Bühler
a0d963ef11
Fix printf checks with glib macro
14 years ago
Stefan Bühler
384bab3719
Forgot source/header for etag.{c,h}
14 years ago
Stefan Bühler
a62cdebb91
Fix static file/dirlist handling and add etag support
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
9df3918e9b
Add l_g_string_from_int to utils - prints a gint64 to a GString
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
Thomas Porzelt
a9c75934a8
change counter format output
14 years ago
Thomas Porzelt
f9ca699307
add waitqueue_length()
14 years ago
Stefan Bühler
bedcc3d46a
Added mod_cache_disk_etag: caches produced content on disk and checks for it via etag.
14 years ago
Stefan Bühler
87cd65e98f
Don't check for NULL strings in CONST_STR_LEN
14 years ago
Stefan Bühler
12b421b9a9
Don't block fastcgi if limit on input queue is hit
14 years ago
Stefan Bühler
158f42aa0f
Add support for filters
14 years ago
Thomas Porzelt
7d88ae2e73
[utils] add l_g_string_prefix() and l_g_string_suffix()
14 years ago
Thomas Porzelt
0719779fd2
add ENCODING_URI to encoding functions
14 years ago
Thomas Porzelt
a888c34dbb
add encoding functions
14 years ago
Thomas Porzelt
4d2cf580df
add stat_cach_get_dir() to get directory listing; add stat_cache.ttl setup
14 years ago
Thomas Porzelt
004dfc1bf6
add spaces in waitqueue.h for readability
14 years ago
Thomas Porzelt
9a23f4465d
add dirent_buf_size() to utils
14 years ago
Stefan Bühler
2f9e612c99
Use chunkqueue-limit (setup in plugin_core)
14 years ago
Stefan Bühler
6ebc331215
Implement l_g_string_assign_len()
14 years ago
Stefan Bühler
39ecfa89e5
Add chunkqueue-limit framework
14 years ago
Thomas Porzelt
efab0ca75d
implement stat cache
14 years ago