65 Commits (53337c81d40b90d3f8daab92c8419522d3a1c0fc)

Author SHA1 Message Date
Stefan Bühler 424e1a37f8 [core] Reset con->out (response body) queue counters (used by mod_accesslog) for keep-alive
Change-Id: Id644a71c808c8a3c73e476fddb6022177de8dd5f
2 years ago
Stefan Bühler 66bd6b22a2 track event "names" for debugging
Change-Id: Ib8f2b589a6087de2355906a87bd2cd0c84bafcba
8 years ago
Stefan Bühler 10305546cb [core] close out stream nicely on regular shutdown (fixes openssl session problem)
Change-Id: Iaac73fa64c03225751c4492b5c690094f3d6e97f
9 years ago
Stefan Bühler 17a5168793 [core] convert all assert() to LI_FORCE_ASSERT(), and support writing backtraces on fatal errors with libunwind 9 years ago
Stefan Bühler f482877825 [doc] document core config and modules in tree 9 years ago
Stefan Bühler a7f41b9e3b [core] check for disabled keep-alive early to send matching headers 10 years ago
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)
10 years ago
Stefan Bühler 64cabac477 [core] fix connection timeout handling 10 years ago
Stefan Bühler 5e4a94b0c6 [core] handle Connection: Upgrade 10 years ago
Stefan Bühler 3deb7c9e79 [core] support chunked uploads 10 years ago
Stefan Bühler 0857befb7f fix handling of new connection state 10 years ago
Stefan Bühler bf6470375a flush sockets after request end by setting TCP_NODELY temporarily 10 years ago
Stefan Bühler 709296d796 fix bugs and warnings from compiler warnings (memset parameter order, shadow, ...) 10 years ago
Stefan Bühler 7a01f69b89 fix connection is_closed handling (never close raw_out, never close con->out.source->out) 10 years ago
Stefan Bühler 914f79650a fix connection handling with chunked responses 10 years ago
Stefan Bühler c61f4929cb more asserts and checks in stream_simple_socket 10 years ago
Stefan Bühler 3aa78c1002 wait for request body in dynamic backends, cache them on disk 10 years ago
Stefan Bühler 72ec9a432f [throttle] rewrite 10 years ago
Stefan Bühler cfd8955008 [common] implement libev wrapper
* need a way to mark a watcher as "don't keep the loop alive"
10 years ago
Stefan Bühler ff69160c34 [core] Use streams 10 years ago
Stefan Bühler b1c45e6a8f [chunk/network] use glib error system to report errors (instead of using virtualrequest context) 11 years ago
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 11 years ago
Stefan Bühler 3277edabe6 connection.c: optimize buffer usage - don't keep too many unused buffers around 12 years ago
Stefan Bühler 0fcbfb7ab7 [core] optimize syscalls per connection 12 years ago
Stefan Bühler d9cc24b8e6 [core]: fix connection/vrequest callbacks to return FALSE after they got reset, so handling stops 13 years ago
Stefan Bühler bf0ece96fb [throttle] Fix segfaults 13 years ago
Stefan Bühler 688a17372f [tests] Add BadRequest test (and fix the bug), add "status" vhost 13 years ago
Stefan Bühler 7fbcfb86d9 [mod_openssl]: better io event handling (ssl may want to write while lighty only wants to read) 13 years ago
Stefan Bühler 9ba3395241 Fix C++ style comments 13 years ago
Stefan Bühler 77ad119f66 [lua]: add subrequests 13 years ago
Stefan Bühler b87e74d151 Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events 13 years ago
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 13 years ago
Thomas Porzelt 0b860b2a0c [core] Ensure a connection is put into io timeout queue after keepalive] 13 years ago
Thomas Porzelt 5531e36cf4 [core] Ensure that a connection is always in the io timeout queue (if not in keep-alive) 13 years ago
Thomas Porzelt bba88e3326 [core] Fix detection of too big request http header 13 years ago
Thomas Porzelt 6060380550 [core] Small fix for keepalive handling 13 years ago
Thomas Porzelt 7056b879e7 [core] Fix detection of too large http request header 13 years ago
Thomas Porzelt bf2d01e56c [core] Ensure that a connection is always in the io timeout queue when not in keep-alive state 13 years ago
Thomas Porzelt 0af117d47f [core] Reposition check for header size limit fixing wrong positives 13 years ago
Thomas Porzelt d18045ccbf [core] Rework throttle code a bit, especially regarding pools 13 years ago
Stefan Bühler 048a7d9144 Append to previous buffer in network reads, save used buffer in custom location 13 years ago
Thomas Porzelt 1297a1fab7 [core] Fix crash in throttle pool handling 13 years ago
Stefan Bühler 750bd453a2 Append to previous buffer in network reads 14 years ago
Thomas Porzelt d8f5d21ec6 [core] Check for EV_ERROR in connection event callback 14 years ago
Stefan Bühler 7bb58debcb Fix previous commit: only update io-timeout timestamp after real IO 14 years ago
Stefan Bühler 8cf1033e4a Only update io-timeout timestamp after real IO 14 years ago
Thomas Porzelt 8716087728 [core] Rename con->ts to con->ts_started 14 years ago
Stefan Bühler 3d50819d14 Move the cqlimit reset/set back to connection.c (vrequest_reset may be called with data in con->raw_in, so cqlimit_reset isn't a good idea) 14 years ago
Stefan Bühler 402c45dc45 Add buffer-on-disk for uploads automatically 14 years ago
Thomas Porzelt b79cda7fce [core] Limit outgoing chunkqueue mem usage to 512kb by default 14 years ago