Commit Graph

1385 Commits (53337c81d40b90d3f8daab92c8419522d3a1c0fc)

Author SHA1 Message Date
Thomas Porzelt 6fe8eb603d fixed missing \r\n after response headers 14 years ago
Stefan Bühler 721cb88985 Kill some memleaks 14 years ago
Stefan Bühler 00143835d4 Move the connection tables into the workers, so no locking needed for them. 14 years ago
Stefan Bühler 2b9147ba50 Fix missing ':' after case EWOULDBLOCK 14 years ago
Stefan Bühler bca094fe9f Add cmake support 14 years ago
Stefan Bühler bfd20c2662 Add missing includes for open/fcntl 14 years ago
Stefan Bühler e87e6a9a58 Fix indentation in wscript 14 years ago
Stefan Bühler ac1f66ee1d Fix pcre 14 years ago
Thomas Porzelt 623e10d7a0 added missing insert into hashtable for logs, removed lock from log_free_unlocked() 14 years ago
Stefan Bühler 14cb73e80b Set cpu affinity 14 years ago
Stefan Bühler 267b0bf6fc shutdown sockets immediatly if srv->exiting is true 14 years ago
Stefan Bühler 45849a4864 Add error reporting if ev_loop creation fails. 14 years ago
Stefan Bühler c62f8f7945 Add more atomic protection 14 years ago
Stefan Bühler 58351b5ff0 Clean libev loops 14 years ago
Stefan Bühler dbc9859ce8 Use atomic refcount operations 14 years ago
Stefan Bühler 47c0acf4c2 Changed header implementation from hash-table to double linked list 14 years ago
Stefan Bühler f5cf939d5a Added "workers(x)" setup function 14 years ago
Stefan Bühler 0a4230cced Added basic notify + locking for workers 14 years ago
Stefan Bühler ee59334e9d Only send regular files with static handler 14 years ago
Stefan Bühler 798085f860 Fix some segfaults and add cleanup for worker split 14 years ago
Stefan Bühler 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" 14 years ago
Stefan Bühler dbd9218150 Silence strict-alias warning again with redefining some macros 14 years ago
Stefan Bühler ecd1082378 Remove "my_ev_init" as we now have -fno-strict-aliasing; workaround was stupid anyway. Move static ev_signal vars into server struct. 14 years ago
Stefan Bühler e15193447d Fix cleanup of target_else in conditional action, added support for else branch in "when" action. 14 years ago
Thomas Porzelt cf51355d1c fixed else/elseif in config parser 14 years ago
Thomas Porzelt 1371d4e49f added else/elseif to config parser; uses new target_else member of action->value.condition 14 years ago
Thomas Porzelt 8649ce6cfe changed option default value assignment to callbacks 14 years ago
Stefan Bühler 577928e8eb Fix double con_put in server_free 14 years ago
Stefan Bühler 475300d1aa Fix keep-alive again (missing cleanup) 14 years ago
Stefan Bühler 491b7880cb Fix keep-alive idle. 14 years ago
Stefan Bühler 486f64bd7d Added keep-alive and dead state for connection, added timeout for keep-alive. 14 years ago
Stefan Bühler 7bdce8aeb4 Added action/condition to option_copy 14 years ago
Thomas Porzelt d3547c5318 added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options 14 years ago
Thomas Porzelt ccaacfb285 added 'blank' function to plugin_core 14 years ago
Thomas Porzelt 6804b1df00 implemented default values for options 14 years ago
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 14 years ago
Thomas Porzelt c1bc3b8e0a small cleanup in config parser; small fix in log.c 14 years ago
Stefan Bühler 179021ca18 Fix memleak in writev backend 14 years ago
Thomas Porzelt 1ab2d0d6b3 small change to config parser: comment now included in noise set 14 years ago
Thomas Porzelt 4d55315487 added first counters 14 years ago
Thomas Porzelt c2b8ccdec4 changed operators ^= to =^ and $= to =$; introduced clean and ./waf 14 years ago
Thomas Porzelt f795f2463a added ^= (prefix match) and $= (suffix match) operators 14 years ago
Stefan Bühler 5a1970e5d1 Add write as fallback for sendfile 14 years ago
Thomas Porzelt 34b9edaa02 fixed invalid free in server.c 14 years ago
Stefan Bühler 1bc8c85266 * replace strerror with g_strerror, kill errno from logging 14 years ago
Thomas Porzelt 89d3b204a7 added header conditional check for normal config parser 14 years ago
Thomas Porzelt 1901397a0e minor enhencements; added log.level and log.target options 14 years ago
Stefan Bühler 85c4f3852b Fix hostname parsing. 14 years ago
Thomas Porzelt df16145d05 added http_status_string() function; response.c now includes the right status string 14 years ago
Thomas Porzelt 1798e226ff fixed fd initialization warning with -O2 in log.c 14 years ago