Commit Graph

  • 30ebce774e Add "state-wait" api for server state machine Stefan Bühler 2010-02-13 15:29:21 +01:00
  • d18045ccbf [core] Rework throttle code a bit, especially regarding pools Thomas Porzelt 2010-02-13 14:30:32 +01:00
  • fc09bf9095 [core] Don't allow spaces between integer value and its suffix, was not deterministic Thomas Porzelt 2010-02-13 13:25:16 +01:00
  • 048a7d9144 Append to previous buffer in network reads, save used buffer in custom location Stefan Bühler 2010-02-10 22:25:48 +01:00
  • 13611b5243 Improve balancer handling Stefan Bühler 2010-02-08 09:38:19 +01:00
  • 7a63f69133 Add li_sockaddr_dup Stefan Bühler 2010-02-08 09:38:18 +01:00
  • 2e131dc93f Put pathinfo debug messages into debug-request-handling Stefan Bühler 2010-02-08 17:00:44 +01:00
  • 33b89d8981 Fix mod_proxy (missing \r\n after request line) Stefan Bühler 2010-02-08 17:00:44 +01:00
  • 6a5411c2f1 [plugin_core] Set con->throttle.pool.queued to FALSE after unlinking from queue Thomas Porzelt 2010-02-08 15:24:25 +01:00
  • 1297a1fab7 [core] Fix crash in throttle pool handling Thomas Porzelt 2010-02-07 22:49:54 +01:00
  • 750bd453a2 Append to previous buffer in network reads Stefan Bühler 2010-01-23 20:24:21 +01:00
  • d8f5d21ec6 [core] Check for EV_ERROR in connection event callback Thomas Porzelt 2010-01-31 20:15:40 +01:00
  • 7bb58debcb Fix previous commit: only update io-timeout timestamp after real IO Stefan Bühler 2010-01-31 16:03:51 +01:00
  • 8cf1033e4a Only update io-timeout timestamp after real IO Stefan Bühler 2010-01-31 16:02:31 +01:00
  • 954778ff71 Show timeout in mod_status for connections Stefan Bühler 2010-01-30 23:53:09 +01:00
  • 3c2cef5f0d Handle ETIMEDOUT as connection close Stefan Bühler 2010-01-30 23:52:48 +01:00
  • fd72f61f68 Update mod_lua docs Stefan Bühler 2010-01-30 23:49:51 +01:00
  • d70784abd2 Fix mod_status options Stefan Bühler 2010-01-27 22:18:35 +01:00
  • 64c2fece96 config: add network cidr matching operators, =/ and != Stefan Bühler 2010-01-27 22:05:06 +01:00
  • 00ef8599cf Export glib md5/sha1/sha256 hash functions to lua (hex output) Stefan Bühler 2010-01-27 21:33:40 +01:00
  • 5284ce9cb4 Fix option handling: need another opt_base_index for pointer options Stefan Bühler 2010-01-27 17:38:27 +01:00
  • 2e4aba7e39 Fix options: missed setting "pointer" options Stefan Bühler 2010-01-27 17:15:25 +01:00
  • f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers Stefan Bühler 2010-01-24 21:30:41 +01:00
  • 64ba5fddce Cleanup value pointer extractions Stefan Bühler 2010-01-24 14:00:29 +01:00
  • a545ef6e75 Add mempool_align_page_size implementation for MEMPOOL_MALLOC fallback Stefan Bühler 2010-01-23 23:51:24 +01:00
  • cdb615293c [autobuild] Fix dependency problem with automake (automake doesn't like it if ../dir/ is cwd) Stefan Bühler 2010-01-24 11:46:59 +01:00
  • faf2985a79 Use struct sockaddr_storage (in liSockAddr) as base for getsockname/getpeername Stefan Bühler 2010-01-24 11:09:23 +01:00
  • 7e44920c50 [mod_vhost] Fix vhost.simple, it checked the physical path instead of docroot Thomas Porzelt 2010-01-21 14:44:36 +01:00
  • 4485ea7563 Fix segfault if trying to convert NULL address to string Stefan Bühler 2010-01-11 20:56:51 +01:00
  • eaa13c2e4b automake: Fix doc/service EXTRA_DIST Stefan Bühler 2010-01-05 16:28:22 +01:00
  • 24f4fc1bc1 Add doc/ directory with man pages + config examples Stefan Bühler 2009-12-26 14:14:12 +01:00
  • edd74a0e3c Rename lighttpd to lighttpd2 Stefan Bühler 2010-01-03 19:47:47 +01:00
  • 7768470b10 mod_lua: fix small memleak (free conf->filename) Stefan Bühler 2010-01-03 19:47:47 +01:00
  • 15767d97c0 [mod_accesslog] Use li_string_append_int() instead of g_string_append_printf() Thomas Porzelt 2010-01-03 17:54:22 +01:00
  • 8e3130ecff [mod_accesslog] Implement %D (duration in microseconds) and %T (duration in seconds) format specifiers Thomas Porzelt 2010-01-03 17:49:35 +01:00
  • 9bd5c39550 [core] Add vr->ts_started struct member, representing the ev_tstamp when the vr has been started Thomas Porzelt 2010-01-03 17:39:26 +01:00
  • 8716087728 [core] Rename con->ts to con->ts_started Thomas Porzelt 2010-01-03 17:26:07 +01:00
  • 4fd27aca81 autotools: Fix linking Stefan Bühler 2009-12-25 22:38:52 +01:00
  • 79ae4427f3 autotools: install angel in sbin, support pkglibdir configuration Stefan Bühler 2009-12-23 01:30:28 +01:00
  • 63eadd22fa Fix buildsystems Stefan Bühler 2009-12-21 21:07:27 +01:00
  • fe7ddede88 Add lua plugins Stefan Bühler 2009-12-21 18:19:12 +01:00
  • b4c3e2ba02 Add userdata to action-create, setup and plugin-init callbacks Stefan Bühler 2009-12-21 12:29:14 +01:00
  • 881669d96a Add lua filters; fixed some lua-api bugs; enhanced lua chunkqueue api Stefan Bühler 2009-12-20 23:45:03 +01:00
  • 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) Stefan Bühler 2009-12-20 16:49:10 +01:00
  • 402c45dc45 Add buffer-on-disk for uploads automatically Stefan Bühler 2009-12-19 22:18:10 +01:00
  • e92a6e8865 mod_auth: fix is_handled check Stefan Bühler 2009-12-19 18:23:47 +01:00
  • 130a40e691 mod_auth: Add auth.deny; for user restriction, always send WWW-Authenticate header (this makes the implementation of auth.deny trivial) Stefan Bühler 2009-12-19 17:42:55 +01:00
  • 2f06283832 Change internal conditional checks; export functions to read value of conditional-lvalues Stefan Bühler 2009-12-19 17:41:55 +01:00
  • b332fcbbb8 Add api for buffering chunkqueue content on disk Stefan Bühler 2009-12-15 16:58:08 +01:00
  • 931e8fea0c Make radix tree generic (length independent), use it for mod_access ipv4/ipv6 Stefan Bühler 2009-12-14 14:29:59 +01:00
  • 3bc425fef1 Remove config parser code from main(), add cmake-option to disable default config parser Stefan Bühler 2009-12-13 21:35:46 +01:00
  • 4d257fd79c angel: Fix detecting failed replace, log successful instance replace Stefan Bühler 2009-12-13 21:05:43 +01:00
  • eff8ed5e50 Add request.environment[] conditional Stefan Bühler 2009-12-13 00:36:47 +01:00
  • fdf881311d mod_dirlist: use html transitinal instead of xhtml, add javascript sort Stefan Bühler 2009-12-07 15:40:41 +01:00
  • 871a4dc8b5 Add unit-testing for range-parser and fix the parser Stefan Bühler 2009-12-05 15:56:14 +01:00
  • c5f6c3166d Replace lseek()+read() with pread() in chunk.c Stefan Bühler 2009-12-02 20:24:16 +01:00
  • 0c3ca6b13b add liBuffer: a reference-counted memory chunk (using mempool) for basic network data Stefan Bühler 2009-11-29 15:18:24 +01:00
  • f9b12036fe Add mempool allocator to avoid fragmentation Stefan Bühler 2009-11-29 15:18:25 +01:00
  • b79cda7fce [core] Limit outgoing chunkqueue mem usage to 512kb by default Thomas Porzelt 2009-11-28 14:34:49 +01:00
  • 477a060821 Fix typo in previous commit Thomas Porzelt 2009-11-28 11:47:40 +01:00
  • cb7005bdf0 [core] Fix io.buffer_in action (was setting out buffer) Thomas Porzelt 2009-11-28 11:25:57 +01:00
  • 56f01bbc7f angel: listen: Use ntohs for port in debug output Stefan Bühler 2009-11-22 21:28:24 +01:00
  • 8f69c6bc8d Reduce buffer allocs for network read Stefan Bühler 2009-11-22 18:50:11 +01:00
  • d55aab7652 mod_auth: add some details to docs Stefan Bühler 2009-11-22 15:01:24 +01:00
  • b2f2863af4 angel: Add log output for SIGHUP instance restart Stefan Bühler 2009-11-22 14:48:18 +01:00
  • 1ac09ac2d1 Use relative timestamp for angel call timeouts, increase angel-listen timeout. Stefan Bühler 2009-11-22 14:48:18 +01:00
  • d949d65110 Add signal number to log Stefan Bühler 2009-11-22 14:48:18 +01:00
  • 44b017edce [waf] Fix detection of ipv6 support Thomas Porzelt 2009-11-22 10:39:56 +01:00
  • cfa365d275 [mod_auth] Remove auth.htdigest and auth.htpasswd from todo, they are implemented Thomas Porzelt 2009-11-21 21:46:43 +01:00
  • 9989cd62ce [core] Fix value statements in config parser (now using stack for operator) Thomas Porzelt 2009-11-21 16:36:42 +01:00
  • f3713267db [core] Add ragel.pyc and .lock-wscript to .gitignore Thomas Porzelt 2009-11-21 16:20:05 +01:00
  • c2b9cd9b94 Move .bzrignore to .gitignore Stefan Bühler 2009-11-21 15:46:39 +01:00
  • 3da212d8aa mod_dirlist: Fix encode-readme for README.txt Stefan Bühler 2009-11-21 13:42:23 +01:00
  • 8667b1a1d7 mod_dirlist: Update TODO Stefan Bühler 2009-11-18 21:34:57 +01:00
  • 49a99eb0e8 Fix handling of responses without body; check that really no content is sent. Stefan Bühler 2009-11-18 21:34:54 +01:00
  • 951c7e4e8d Fix memleak in lua vr:stat() Stefan Bühler 2009-11-18 20:28:15 +01:00
  • 0d4077652f angel: Fix exec problems (NULL-terminate environment) Stefan Bühler 2009-11-18 20:22:10 +01:00
  • 577ab12a13 Fix dirlist encode-* defaults Stefan Bühler 2009-11-15 22:08:04 +01:00
  • 8a8fb91729 Add some features to mod_dirlist, move directory-redirect to vrequest functions and use it for index files Stefan Bühler 2009-11-15 21:59:16 +01:00
  • 619a2d6582 stat-cache: close file if fstat fails Stefan Bühler 2009-11-15 21:48:00 +01:00
  • 6fcfd96b53 Fix lua struct stat export Stefan Bühler 2009-11-15 21:47:32 +01:00
  • 4e6e5e54c5 Fix lua api for vr:stat(filename) Stefan Bühler 2009-11-12 22:02:55 +01:00
  • dbfad84946 Add fastcgi logging for failed response header parsing Stefan Bühler 2009-11-11 15:06:09 +01:00
  • 2c343ed5d8 Add pathinfo action Stefan Bühler 2009-11-11 14:55:00 +01:00
  • 9561a565c5 Fix alias action config parsing Stefan Bühler 2009-11-11 13:47:47 +01:00
  • 35ccb73638 Add alias action Stefan Bühler 2009-11-11 13:35:14 +01:00
  • c3ae0163c8 Use less pointers in chunks, "inline" structures Stefan Bühler 2009-11-08 11:12:12 +01:00
  • e6c50c644b [core] Retry open() in stat_cache in case of EINTR Thomas Porzelt 2009-11-07 15:44:13 +01:00
  • d1095e5943 [mod_status] Add output for peak values Thomas Porzelt 2009-11-07 15:42:29 +01:00
  • 6bf284b754 [core] Record peak values of worker stats Thomas Porzelt 2009-11-07 15:42:03 +01:00
  • 175db515a6 [core] Change behaviour of connection garbage collector in worker a bit, only free if below threshold for more than 5 minutes Thomas Porzelt 2009-11-07 13:21:46 +01:00
  • 53096333f1 [core] Fix connection garbage collector Thomas Porzelt 2009-11-07 11:57:13 +01:00
  • 5ca4cd5eeb [waf] Add lua to uselib for mod_lua Thomas Porzelt 2009-11-03 13:25:30 +01:00
  • d86a5255e4 Add mod_lua Stefan Bühler 2009-11-01 17:23:21 +01:00
  • 2060595760 Change max-keep-alive requests to 0 "unlimited" Stefan Bühler 2009-11-01 15:43:34 +01:00
  • d9228f3ef0 Add per worker lua_State Stefan Bühler 2009-11-01 15:43:12 +01:00
  • c6741f7716 Implement li_filter_chunked_decode + one unit-test for it Stefan Bühler 2009-10-19 21:45:00 +02:00
  • 680d3fcec5 mod_deflate: add some options Stefan Bühler 2009-10-19 19:00:11 +02:00
  • 17c3512f22 Add mod_proxy Stefan Bühler 2009-10-19 18:59:49 +02:00
  • 75e5fdca69 Drop 1xx responses in response parsing Stefan Bühler 2009-10-19 18:59:26 +02:00