23 Commits (b8a0921265f652c468d75e39d5300042ecb339cb)

Author SHA1 Message Date
Stefan Bühler b8a0921265 Add some missing LI_/li prefixes for types and enum values 12 years ago
Stefan Bühler b87e74d151 Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events 12 years ago
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 12 years ago
Thomas Porzelt a4b0f4a9c0 [core] Fix segfault in li_vrequest_reset() when default value is NULL 12 years ago
Stefan Bühler e00febcd40 Fix vrequest-ref api 12 years ago
Stefan Bühler 19bc091432 Only call li_plugins_handle_vrclose in vrequest_reset if vrequest is in use 12 years ago
Stefan Bühler bd40dec873 Only call li_plugins_handle_vrclose in vrequest_free if vrequest is in use 12 years ago
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 12 years ago
Thomas Porzelt 9bd5c39550 [core] Add vr->ts_started struct member, representing the ev_tstamp when the vr has been started 12 years ago
Stefan Bühler 881669d96a Add lua filters; fixed some lua-api bugs; enhanced lua chunkqueue api 12 years ago
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) 12 years ago
Stefan Bühler 402c45dc45 Add buffer-on-disk for uploads automatically 12 years ago
Stefan Bühler 8a8fb91729 Add some features to mod_dirlist, move directory-redirect to vrequest functions and use it for index files 12 years ago
Stefan Bühler a49d51bdd3 Support keep-alive vrequest reset, which keeps some request data to be shown in mod_status 12 years ago
Stefan Bühler 4653900eca Fix stat-cache ref counting 12 years ago
Stefan Bühler 95e8368099 Fix mod_status handle_direct/WAIT_FOR_EVENT bug 12 years ago
Stefan Bühler 471a521f48 Improve filter handling (handle reverse out stream closing) 12 years ago
Stefan Bühler 7133bae151 Fix vrequest state machine w. waiting actions 12 years ago
Stefan Bühler 616904e00f Fix filter reset, reactivate check for static file in mod_cache_disk_etag 12 years ago
Stefan Bühler 08bb8f7c23 Some request handling bugs (keep-alive, content-length, pipelining) 13 years ago
Stefan Bühler d6ff06347d Handle OPTIONS in vrequest by default, check method in other modules 13 years ago
Stefan Bühler bf9e34bab7 Remove li_vrequest_stat and fix condition.c 13 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 13 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 13 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 13 years ago
Stefan Bühler 595ce1fe13 Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con 13 years ago
Stefan Bühler 7aaa764f49 Added vrequest_joblist_append_async (with a vrequest-reference handling) 13 years ago
Thomas Porzelt ddb0448a96 rework stat_cache 13 years ago
Stefan Bühler 2995cb5ffa Fix previous commit and static forbidden handling 13 years ago
Stefan Bühler be8e8bb3ea Return 404 if no action handled request 13 years ago
Stefan Bühler e020850dc8 Add vrequest_is_handled function 13 years ago
Stefan Bühler bedcc3d46a Added mod_cache_disk_etag: caches produced content on disk and checks for it via etag. 13 years ago
Stefan Bühler 158f42aa0f Add support for filters 13 years ago
Thomas Porzelt 4f44b332c7 fix memory leak in stat cache when connection was closed abruptly 13 years ago
Thomas Porzelt efab0ca75d implement stat cache 13 years ago
Stefan Bühler 4a8ce0a63f Redo boolean conditionals (physical.*) as real actions. 13 years ago
Thomas Porzelt 7766bd8c34 save errno of stat() in request.physical struct to prevent repeated stat()s if failed 13 years ago
Thomas Porzelt 01068d7f1d make docroot a function action instead of setting, add stat member to vr.physical and enable physical.size conditional 13 years ago
Stefan Bühler d9ddd4fd3d Remove out-of-fd-handling. 13 years ago
Stefan Bühler 54fd1b08e4 Cleanup some state machine handling 13 years ago
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 13 years ago
Stefan Bühler c56ade056f Add vrequest "environment" (a GString -> GString hashtable) 13 years ago
Stefan Bühler d30e1b018a Added some backend/balancer helper, fixed backend-error handling. 13 years ago
Stefan Bühler 6636919623 Completed core balancer support, added a simple test balancer. 13 years ago
Stefan Bühler 025f0b5f84 Removed HANDLER_FINISHED, implemented real job queue and added some basic balancer structs 13 years ago
Stefan Bühler 20dfff0663 Cleanup log macros (moved from con to vrequest) 13 years ago
Stefan Bühler c24704dad5 Move options from connection to vrequest 13 years ago
Stefan Bühler 4a02223f7c Added per-action context 13 years ago
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 13 years ago
Stefan Bühler 7954e0f8d3 Modify vrequest_error 13 years ago