2
0
Fork 0
Commit Graph

1188 Commits (0ff0df8e12c34426d205dd730e8c32f615f52e74)

Author SHA1 Message Date
Stefan Bühler 0ff0df8e12 [mod_fastcgi] show stderr messages 2013-05-25 12:29:04 +02:00
Stefan Bühler 018baa0375 [mod_fastcgi] abort request only if headers aren't sent; otherwise stream disconnect will handle it
out stream disconnects will lead to fastcgi_reset too, but the vrequest is fine in that case
2013-05-25 11:39:03 +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 ff28617976 [mod_fastcgi] disable keep-alive for now 2013-05-24 17:23:24 +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 d59cbf3f4e [mod_fastcgi] add some asserts 2013-05-24 14:06:00 +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 b028ad841f [mod_gnutls] stream 2013-05-23 17:56:24 +02:00
Stefan Bühler d0d3c851a5 [openssl] use BIO wrappers for streams 2013-05-23 17:56:24 +02:00
Stefan Bühler d9952f8e14 [mod_proxy] use backends 2013-05-23 17:56:23 +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 079c365f39 [mod_scgi] use backends 2013-05-23 17:56:23 +02:00
Stefan Bühler b74ec36c1e [mod_fastcgi]: use backends 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
Stefan Bühler ebd5a4ecb3 Fix comment style (//) and add gnutls to automake distcheck 2013-05-21 16:51:15 +02:00
Stefan Bühler 6a33c93231 Revert "[core] implement streams on chunkqueues"
- accidental push, patch not finished yet

This reverts commit 74ce55c860.
2013-05-17 20:27:52 +02:00
Stefan Bühler 74ce55c860 [core] implement streams on chunkqueues 2013-05-17 15:40:20 +02:00
Stefan Bühler 20a63070e2 [chunks] extract to plain memory 2013-05-17 15:40:20 +02:00
Stefan Bühler 092a1b0141 fix bugs found with clang-3.3 -fsanitize=address,undefined 2013-05-17 12:35:25 +02:00
Stefan Bühler 4793e43461 [mod_gnutls] fix ca-file handling 2013-05-07 13:58:35 +02:00
Stefan Bühler 186309f529 [lua] add missing file 2013-05-05 16:22:07 +02:00
Stefan Bühler 0d85a068c8 [lua] add per lua_State lock 2013-05-04 13:11:25 +02:00
Stefan Bühler c1851a6cea [lua] force garbage collection 2013-05-03 18:59:06 +02:00
Stefan Bühler f2ade38923 Release mainaction before stopping workers 2013-05-03 18:57:58 +02:00
Stefan Bühler ff7b73c8a9 [collect] Allow to start collect without worker context 2013-04-10 20:48:16 +02:00
Stefan Bühler 0dd67d972a [mod_lua] fix order of setting ts_loaded and checking it 2013-04-09 16:44:50 +02:00
Stefan Bühler e2d7bb30ec [mod_lua] fix docs 2013-01-25 10:02:08 +01:00
Stefan Bühler ff527c560c [mod_lua] fix ttl handling for lua.handler 2013-01-25 10:02:08 +01:00
Stefan Bühler 9cb0790052 [core_lua] Forward worker pointer to log functions in some lua functions
This fixes 2 things:
 * won't need global server lock for logging in worker context
 * order of log entries; worker context log gets committed to
   global list in the event loop
2013-01-25 09:57:54 +01:00
Stefan Bühler 01abf704a3 [lua] Use recursive lock for global lua lock 2012-12-06 15:43:11 +01:00
Stefan Bühler 178e7c898f [profiler] use g_static_mutex to trigger mutext memory allocation before registering profiler alloc handlers 2012-12-06 15:34:51 +01:00
Stefan Bühler af3e0728fa [mod_deflate] Parse x-gzip/x-bzip2 explicitly and send it back as it was requested (instead of gzip/bzip2) 2012-10-14 17:33:02 +02:00
Stefan Bühler 2634c77aae Fix use of deprecated g_strcasecmp 2012-06-16 13:08:57 +02:00
Stefan Bühler b310884f4d [log] Remove (broken) locking for g_printerr in li_log_write_stderr - fputs, the default backend, is thread safe 2012-06-16 13:07:14 +02:00
Stefan Bühler 1951de6e40 [mod_acceslog] fix escaping of " 2012-06-16 12:57:27 +02:00
Stefan Bühler d705276183 [plugin_core] Fix closing data stream for invalid ranges in static handling 2012-04-05 14:55:14 +02:00
Stefan Bühler 5d48ae7102 [log] Add changable log contexts (i.e. references to the real one), so a pointer to such context can be used over a longer period of time 2012-03-17 15:52:19 +01:00
Stefan Bühler a0227182d6 Fix small memleak with server sockets 2012-03-17 15:38:44 +01:00