2
0
Fork 0
Commit Graph

419 Commits (8e41187ff6f3c96ae4770075d8413b8ecad07ee0)

Author SHA1 Message Date
Stefan Bühler 898e0c4687 [log] fix small mem leak 2013-08-22 15:02:35 +02:00
Stefan Bühler ad687636e9 [lua] push list values with __index metamethod to lookup string/nil keys in key-value lists 2013-08-21 13:50:02 +02:00
Stefan Bühler 9f9fe72d97 [lua] fix usage of lua_typename 2013-08-21 13:50:02 +02:00
Stefan Bühler f9d0abac66 [lua] add lighty.error -> lighty.print alias 2013-08-21 12:41:11 +02:00
Stefan Bühler 9e71dc6890 [core] li_value_to_string: use => for separating hash keys and values like the config 2013-08-19 19:13:48 +02:00
Stefan Bühler 32e91a9e8a [core] handle NULL values in li_value_extract* functions 2013-08-19 19:10:15 +02:00
Stefan Bühler 74b64a6d1a [plugin_core] log/setup log: convert to handling key-value list 2013-08-19 17:26:16 +02:00
Stefan Bühler 92dc237ee8 [core] add li_value_new_hashtable to create a GString -> liValue hashtable 2013-08-19 15:43:48 +02:00
Stefan Bühler ccd512ca57 [waf] remove waf for now, doesn't work anymore 2013-08-18 18:42:15 +02:00
Stefan Bühler 3c27596287 [plugin_core] index action should do less stat() calls now, especially for multiple names 2013-08-18 15:59:26 +02:00
Stefan Bühler 969818083e [core] add li_value_to_key_value_list: convert value hash to key-value list 2013-08-18 13:47:29 +02:00
Stefan Bühler a7f41b9e3b [core] check for disabled keep-alive early to send matching headers 2013-08-18 00:58:54 +02:00
Stefan Bühler b9d77f50a4 [core] add req_header.* actions 2013-08-07 18:05:16 +02:00
Simon Lundström 859da7d7eb [plugin_core] docroot: show stat() errors for all entries when debug log is enabled 2013-07-31 21:54:05 +02:00
Stefan Bühler bfa1395937 [throttle] fix connection throttling refill calculation 2013-07-18 13:05:09 +02:00
Stefan Bühler 05e058aa9c fix bugs and warnings reported by clang
* fix memset sizeof() bugs
 * fix unaligned memory access
 * fix warnings for casts with alignment change
 * crypt_r needs _GNU_SOURCE
2013-06-08 20:11:23 +02:00
Stefan Bühler 95f63fc0cf [core] add global named fetch pool; all backends have to return strings. implement a simple backend. 2013-06-08 20:10:47 +02:00
Stefan Bühler 97dbcf7e42 [core] add option to disable buffering large request bodies on disk - forward them to backend directly instead
- right now only mod_fastcgi can handle this (it won't set the CONTENT_LENGTH env var, the backend
    has to support this too)
2013-06-01 12:31:25 +02:00
Stefan Bühler 64cabac477 [core] fix connection timeout handling 2013-05-31 20:28:53 +02:00
Stefan Bühler 5e4a94b0c6 [core] handle Connection: Upgrade 2013-05-31 20:28:53 +02:00
Stefan Bühler 5e0a58be53 [stream-http-response] support chunk encoded responses 2013-05-31 20:28:53 +02:00
Stefan Bühler 3deb7c9e79 [core] support chunked uploads 2013-05-31 16:41:32 +02:00
Stefan Bühler 4706cc5f60 Fix filedescriptor/socket leaking 2013-05-28 11:46:41 +02:00
Stefan Bühler 6e6e8792de [filter] don't run filter on stream-dest connect 2013-05-26 20:14:49 +02:00
Stefan Bühler 7f61ca9dba disable some debug messages 2013-05-26 18:59:44 +02:00
Stefan Bühler 44f56b034f [filters] fix memleak 2013-05-26 18:54:52 +02:00
Stefan Bühler 8a65b5e7aa [throttle] fix memory leak 2013-05-26 18:50:21 +02:00
Stefan Bühler 0857befb7f fix handling of new connection state 2013-05-26 17:37:33 +02:00
Stefan Bühler abdb238f21 [core] fix half cleaned connection objects 2013-05-25 19:14:02 +02:00
Stefan Bühler 31e581456d [core] use TCP_FASTOPEN on listening sockets if available 2013-05-25 16:15:14 +02:00
Stefan Bühler bf6470375a flush sockets after request end by setting TCP_NODELY temporarily 2013-05-25 15:23:16 +02:00
Stefan Bühler 11b4bdd8c5 replace unneeded ev_/EV_ references 2013-05-25 14:37:09 +02:00
Stefan Bühler 709296d796 fix bugs and warnings from compiler warnings (memset parameter order, shadow, ...) 2013-05-25 12:59:14 +02:00
Stefan Bühler 7a01f69b89 fix connection is_closed handling (never close raw_out, never close con->out.source->out) 2013-05-25 11:29:36 +02:00
Stefan Bühler 914f79650a fix connection handling with chunked responses 2013-05-24 19:02:46 +02:00
Stefan Bühler c61f4929cb more asserts and checks in stream_simple_socket 2013-05-24 17:19:44 +02:00
Stefan Bühler b6325775dc [backends] fix connection insertion 2013-05-24 15:17:02 +02:00
Stefan Bühler ba46b595ae [mod_fastcgi] fix broken asserts 2013-05-24 15:16:30 +02:00
Stefan Bühler 5c2cc7143d fix filters (deflate, memcached, cache_disk_etag) 2013-05-24 13:50:50 +02:00
Stefan Bühler f33a7fd3fa [lua] check values for NULL before pushing to stack 2013-05-24 11:21:13 +02:00
Stefan Bühler 3aa78c1002 wait for request body in dynamic backends, cache them on disk 2013-05-23 17:56:24 +02:00
Stefan Bühler c40b1da839 [subrequests lua] fix compile warnings. still not working, needs to be ported to stream api. 2013-05-23 17:56:24 +02:00
Stefan Bühler f1f1aacdfe fix glib deprecation warnings 2013-05-23 17:56:24 +02:00
Stefan Bühler a937bd437a fix missing li prefixes 2013-05-23 17:56:24 +02:00
Stefan Bühler 72ec9a432f [throttle] rewrite 2013-05-23 17:56:24 +02:00
Stefan Bühler e0d9c0d602 [core] register server prepare callbacks 2013-05-23 17:56:24 +02:00
Stefan Bühler cfd8955008 [common] implement libev wrapper
* need a way to mark a watcher as "don't keep the loop alive"
2013-05-23 17:56:23 +02:00
Stefan Bühler ff69160c34 [core] Use streams 2013-05-23 12:01:04 +02:00
Stefan Bühler b41cc2898a generic backends 2013-05-23 12:01:04 +02:00
Stefan Bühler c450fa82a5 [core] implement streams on chunkqueues 2013-05-22 18:12:15 +02:00