2
0
Fork 0
Commit Graph

35 Commits

Author SHA1 Message Date
Stefan Bühler b87e74d151 Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events 2010-08-11 13:27:27 +02:00
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 2010-08-11 13:27:27 +02:00
Thomas Porzelt 0b860b2a0c [core] Ensure a connection is put into io timeout queue after keepalive] 2010-06-14 20:34:58 +02:00
Thomas Porzelt 5531e36cf4 [core] Ensure that a connection is always in the io timeout queue (if not in keep-alive) 2010-06-13 18:02:14 +02:00
Thomas Porzelt bba88e3326 [core] Fix detection of too big request http header 2010-06-12 15:16:41 +02:00
Thomas Porzelt 6060380550 [core] Small fix for keepalive handling 2010-06-12 13:42:23 +02:00
Thomas Porzelt 7056b879e7 [core] Fix detection of too large http request header 2010-06-10 22:37:42 +02:00
Thomas Porzelt bf2d01e56c [core] Ensure that a connection is always in the io timeout queue when not in keep-alive state 2010-04-25 16:34:52 +02:00
Thomas Porzelt 0af117d47f [core] Reposition check for header size limit fixing wrong positives 2010-04-04 17:11:57 +02:00
Thomas Porzelt d18045ccbf [core] Rework throttle code a bit, especially regarding pools 2010-02-13 14:30:32 +01:00
Stefan Bühler 048a7d9144 Append to previous buffer in network reads, save used buffer in custom location 2010-02-10 22:25:48 +01:00
Thomas Porzelt 1297a1fab7 [core] Fix crash in throttle pool handling 2010-02-07 22:49:54 +01:00
Stefan Bühler 750bd453a2 Append to previous buffer in network reads 2010-02-02 00:34:34 +01:00
Thomas Porzelt d8f5d21ec6 [core] Check for EV_ERROR in connection event callback 2010-01-31 20:15:40 +01:00
Stefan Bühler 7bb58debcb Fix previous commit: only update io-timeout timestamp after real IO 2010-01-31 16:03:51 +01:00
Stefan Bühler 8cf1033e4a Only update io-timeout timestamp after real IO 2010-01-31 16:02:31 +01:00
Thomas Porzelt 8716087728 [core] Rename con->ts to con->ts_started 2010-01-03 17:26:07 +01:00
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) 2009-12-20 16:49:10 +01:00
Stefan Bühler 402c45dc45 Add buffer-on-disk for uploads automatically 2009-12-19 22:18:10 +01:00
Thomas Porzelt b79cda7fce [core] Limit outgoing chunkqueue mem usage to 512kb by default 2009-11-28 14:34:49 +01:00
Stefan Bühler 49a99eb0e8 Fix handling of responses without body; check that really no content is sent. 2009-11-18 21:34:54 +01:00
Stefan Bühler c6741f7716 Implement li_filter_chunked_decode + one unit-test for it 2009-10-19 21:45:00 +02:00
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 2009-10-09 15:38:12 +02:00
Stefan Bühler a49d51bdd3 Support keep-alive vrequest reset, which keeps some request data to be shown in mod_status 2009-10-07 16:02:09 +02:00
Stefan Bühler 0d6795f08a Remove write event if out queue gets empty 2009-10-03 16:48:48 +02:00
Stefan Bühler 08bb8f7c23 Some request handling bugs (keep-alive, content-length, pipelining) 2009-09-15 22:59:59 +02:00
Stefan Bühler f030824550 Fix server address (do not use the listen address) 2009-09-09 18:12:05 +02:00
Stefan Bühler 2484a45c1f Set con->is_ssl 2009-09-08 22:09:35 +02:00
Stefan Bühler a663088a77 Add custom server socket callbacks (for ssl modules) 2009-09-08 19:09:39 +02:00
Stefan Bühler c77ba3eb20 Cleanup connection code 2009-09-08 19:09:08 +02:00
Thomas Porzelt df225dc007 [core] Limit request uri to 8 kilobytes and whole request header to 64 kilobytes 2009-09-05 11:45:16 +02:00
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state 2009-08-30 20:43:13 +02:00
Thomas Porzelt 6184f88e08 [core] Fix connection bandwidth stats calculation 2009-08-19 17:27:19 +02:00
Stefan Bühler fe54d1fe9d Send 400 if header parsing failed 2009-07-17 12:18:28 +02:00
Stefan Bühler 540ff7db02 Split sources into subdirs 2009-07-15 11:57:52 +02:00