2
0
Fork 0
Commit Graph

181 Commits (486f64bd7d62b9304c4a7471e01bd80f16dba72e)

Author SHA1 Message Date
Stefan Bühler 486f64bd7d Added keep-alive and dead state for connection, added timeout for keep-alive.
With "server.max-keep-alive-idle" = 5 (default) you get O(1), other values need O(log n)
2008-08-17 18:24:09 +02:00
Stefan Bühler 7bdce8aeb4 Added action/condition to option_copy 2008-08-17 14:12:03 +02:00
Thomas Porzelt 978eb166d1 added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options 2008-08-17 02:29:05 +02:00
Thomas Porzelt d3547c5318 added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options 2008-08-17 02:28:57 +02:00
Thomas Porzelt 9775213cb9 added 'blank' function that returns a blank page to plugin_core 2008-08-17 00:24:10 +02:00
Thomas Porzelt ccaacfb285 added 'blank' function to plugin_core 2008-08-17 00:23:52 +02:00
Thomas Porzelt 5347dd06b3 implemented default values for options 2008-08-15 20:38:28 +02:00
Thomas Porzelt 6804b1df00 implemented default values for options 2008-08-15 20:38:20 +02:00
Thomas Porzelt 33aa9a0beb added event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c 2008-08-15 18:21:33 +02:00
Thomas Porzelt c5fb96870c added event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c 2008-08-15 18:21:21 +02:00
Thomas Porzelt fd4031beea added server.tag; small fixes and cleanups 2008-08-15 17:18:53 +02:00
Thomas Porzelt 3caab6a860 added server.tag option 2008-08-15 17:17:04 +02:00
Thomas Porzelt c1bc3b8e0a small cleanup in config parser; small fix in log.c 2008-08-14 15:52:45 +02:00
Stefan Bühler 179021ca18 Fix memleak in writev backend 2008-08-14 15:02:24 +02:00
Thomas Porzelt da2b322517 small change to config parser: comment now included in noise set; added first statistical counters 2008-08-14 01:08:41 +02:00
Thomas Porzelt 1ab2d0d6b3 small change to config parser: comment now included in noise set 2008-08-14 01:08:03 +02:00
Thomas Porzelt 4d55315487 added first counters 2008-08-14 01:05:15 +02:00
Thomas Porzelt 401a9ba356 changed operators ^= to =^ and $= to =$; introduced !^ and !$ 2008-08-13 23:35:48 +02:00
Thomas Porzelt 87afe58fcb changed operators ^= to =^ and $= to =$; introduced clean and ./waf 2008-08-13 22:27:04 +02:00
Thomas Porzelt c2b8ccdec4 changed operators ^= to =^ and $= to =$; introduced clean and ./waf 2008-08-13 22:26:45 +02:00
Thomas Porzelt ef910ea1fb added ^= (prefix match) and $= (suffix match) operators 2008-08-13 22:11:24 +02:00
Thomas Porzelt aeba5c0080 merged from sandbox 2008-08-13 22:11:10 +02:00
Thomas Porzelt f795f2463a added ^= (prefix match) and $= (suffix match) operators 2008-08-13 22:10:20 +02:00
Stefan Bühler 5a1970e5d1 Add write as fallback for sendfile 2008-08-13 21:58:23 +02:00
Thomas Porzelt b1c39dde0f merged from sandbox 2008-08-13 21:56:24 +02:00
Thomas Porzelt bb44fceb64 fixed invalid free in server.c 2008-08-13 21:56:01 +02:00
Thomas Porzelt 34b9edaa02 fixed invalid free in server.c 2008-08-13 21:55:47 +02:00
Stefan Bühler 1bc8c85266 * replace strerror with g_strerror, kill errno from logging
* starting chunked encoding filter
* network write cleanup + sendfile backend (default for now)
2008-08-13 21:50:07 +02:00
Thomas Porzelt 99a7b35e44 added header conditional check for normal config parser 2008-08-13 20:08:25 +02:00
Thomas Porzelt 89d3b204a7 added header conditional check for normal config parser 2008-08-13 20:08:13 +02:00
Thomas Porzelt 95fa874571 minor enhencements; added log.level and log.target options 2008-08-13 19:58:25 +02:00
Thomas Porzelt d234e396f8 merged from lp 2008-08-13 19:58:01 +02:00
Thomas Porzelt 1901397a0e minor enhencements; added log.level and log.target options 2008-08-13 19:57:19 +02:00
Stefan Bühler 85c4f3852b Fix hostname parsing. 2008-08-13 19:52:57 +02:00
Thomas Porzelt dd7d3b4777 added http_status_string() function; response.c now includes the right status string 2008-08-13 02:18:49 +02:00
Thomas Porzelt df16145d05 added http_status_string() function; response.c now includes the right status string 2008-08-13 02:18:35 +02:00
Thomas Porzelt ff7addce12 fixed fd initialization warning with -O2 in log.c 2008-08-12 19:34:41 +02:00
Thomas Porzelt 1798e226ff fixed fd initialization warning with -O2 in log.c 2008-08-12 19:34:11 +02:00
Thomas Porzelt 6bbda1a08b fixed segfault in chunkqueue with filename NULL; changed log_un/ref to use mutex; made core_handle_test more verbose; initial working version of config parser 2008-08-12 19:09:05 +02:00
Thomas Porzelt ef9b96e552 fixed chunkqueue segfault with NULL filename 2008-08-12 19:04:55 +02:00
Thomas Porzelt 3d1ce91482 merged from sandbox 2008-08-12 17:15:34 +02:00
Thomas Porzelt e93d1ef301 merged from lp 2008-08-12 17:15:15 +02:00
Thomas Porzelt b1000d2ca4 config parser intial working version; test action in core plugin with more outpot 2008-08-12 17:09:05 +02:00
Thomas Porzelt 6467329144 merged from lp 2008-08-11 17:38:02 +02:00
Stefan Bühler 9d7d19c456 Fix hostname checking 2008-08-10 21:31:56 +02:00
Stefan Bühler 0d4b5ee989 Fix mmap offset calculation in chunk.c 2008-08-09 22:11:52 +02:00
Thomas Porzelt b0615d2198 merged from lp 2008-08-09 19:19:18 +02:00
Stefan Bühler a863b6f7e9 Added url/authority parsing, enabled simple static() action. 2008-08-09 17:20:12 +02:00
Stefan Bühler 754ee742b2 Start splitting network backends, added writev and TCP_CORK 2008-08-09 13:51:06 +02:00
Thomas Porzelt 2d08b0b823 small changes 2008-08-09 01:55:07 +02:00