2
0
Fork 0
Commit Graph

149 Commits (6804b1df00a5bc536c7ddee771bd08bd01646c78)

Author SHA1 Message Date
Thomas Porzelt 6804b1df00 implemented default values for options 2008-08-15 20:38:20 +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 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 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 c2b8ccdec4 changed operators ^= to =^ and $= to =$; introduced clean and ./waf 2008-08-13 22:26:45 +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 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 89d3b204a7 added header conditional check for normal config parser 2008-08-13 20:08:13 +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 df16145d05 added http_status_string() function; response.c now includes the right status string 2008-08-13 02:18:35 +02:00
Thomas Porzelt 1798e226ff fixed fd initialization warning with -O2 in log.c 2008-08-12 19:34:11 +02:00
Thomas Porzelt ef9b96e552 fixed chunkqueue segfault with NULL filename 2008-08-12 19:04:55 +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
Stefan Bühler 066d0f5342 Added plugin callbacks for content and close handling 2008-08-08 19:44:54 +02:00
Stefan Bühler 6d6fc095ab Fix typo in connections.c 2008-08-08 19:34:00 +02:00
Stefan Bühler 124e21ee7d Add 100-Continue handling 2008-08-08 19:12:36 +02:00
Stefan Bühler 6dcfc736c2 Add missing plugin_core.h for core options 2008-08-08 18:51:27 +02:00
Stefan Bühler b8e3535546 Enabled options, moved some initializing 2008-08-08 18:49:00 +02:00
Stefan Bühler 5fc77ca27a Fix 64-bit signed/unsigned compare warning. 2008-08-08 13:57:27 +02:00
Stefan Bühler 8de2c27ec6 Fix some bugs/warnings. 2008-08-07 22:52:53 +02:00
Stefan Bühler 2546ce9259 Use ev_now for current timestamp, clean usage of shutdown (wait for eof before close) 2008-08-07 16:50:36 +02:00
Stefan Bühler 4a9ed5e8a3 Disable test binary 2008-08-07 16:49:44 +02:00
Stefan Bühler 03458817cc Updated TODO hints 2008-08-07 14:12:51 +02:00
Thomas Porzelt 3964ce82b7 merged from lp 2008-08-07 13:02:27 +02:00
Stefan Bühler 1ed36c93b9 Handle write errors (fixes ab keep-alive problems) 2008-08-07 02:25:02 +02:00
Stefan Bühler 76dcab54fc Capture SIGINT, SIGTERM and SIGPIPE. 2008-08-07 02:23:23 +02:00
Stefan Bühler 3b4e8f6f8d Add some request header checks. 2008-08-07 01:44:09 +02:00
Stefan Bühler 52c5b05713 Added some http header helpers 2008-08-07 01:23:04 +02:00
Stefan Bühler 3041e2429d Fix writing (unititialized var) 2008-08-07 01:21:53 +02:00
Stefan Bühler 9760d73a24 Fix chunks to not accept empty chunks (and to remove them in cq_skip) 2008-08-07 01:20:47 +02:00
Stefan Bühler e216fc5168 handle requests now :) - still many TODOs for error handling/keep alive/validating headers 2008-08-07 00:26:17 +02:00
Thomas Porzelt 7dc2d5f337 merged from lp 2008-08-06 23:53:19 +02:00
Stefan Bühler e6463f776b Enable static build. 2008-08-06 23:50:00 +02:00