Commit Graph

35 Commits (97dbcf7e42fe91660fb723e23aab70dcc7b8f4ec)

Author SHA1 Message Date
Stefan Bühler 97dbcf7e42 [core] add option to disable buffering large request bodies on disk - forward them to backend directly instead 10 years ago
Stefan Bühler 5e4a94b0c6 [core] handle Connection: Upgrade 10 years ago
Stefan Bühler 11b4bdd8c5 replace unneeded ev_/EV_ references 10 years ago
Stefan Bühler 3aa78c1002 wait for request body in dynamic backends, cache them on disk 10 years ago
Stefan Bühler 72ec9a432f [throttle] rewrite 10 years ago
Stefan Bühler cfd8955008 [common] implement libev wrapper 10 years ago
Stefan Bühler ff69160c34 [core] Use streams 10 years ago
Stefan Bühler 5d48ae7102 [log] Add changable log contexts (i.e. references to the real one), so a pointer to such context can be used over a longer period of time 11 years ago
Stefan Bühler d9cc24b8e6 [core]: fix connection/vrequest callbacks to return FALSE after they got reset, so handling stops 12 years ago
Thomas Porzelt 31d2291a1c [core] Add support for throttling by IP 12 years ago
Stefan Bühler 79d98f5991 [core] Use liJobQueue for vrequest job queue 12 years ago
Stefan Bühler 77ad119f66 [lua]: add subrequests 12 years ago
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 13 years ago
Stefan Bühler e00febcd40 Fix vrequest-ref api 13 years ago
Stefan Bühler 19bc091432 Only call li_plugins_handle_vrclose in vrequest_reset if vrequest is in use 13 years ago
Stefan Bühler bd40dec873 Only call li_plugins_handle_vrclose in vrequest_free if vrequest is in use 13 years ago
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 13 years ago
Thomas Porzelt 9bd5c39550 [core] Add vr->ts_started struct member, representing the ev_tstamp when the vr has been started 13 years ago
Stefan Bühler 881669d96a Add lua filters; fixed some lua-api bugs; enhanced lua chunkqueue api 13 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) 13 years ago
Stefan Bühler 402c45dc45 Add buffer-on-disk for uploads automatically 13 years ago
Stefan Bühler 8a8fb91729 Add some features to mod_dirlist, move directory-redirect to vrequest functions and use it for index files 13 years ago
Stefan Bühler a49d51bdd3 Support keep-alive vrequest reset, which keeps some request data to be shown in mod_status 13 years ago
Stefan Bühler 4653900eca Fix stat-cache ref counting 13 years ago
Stefan Bühler 95e8368099 Fix mod_status handle_direct/WAIT_FOR_EVENT bug 13 years ago
Stefan Bühler 471a521f48 Improve filter handling (handle reverse out stream closing) 13 years ago
Stefan Bühler 7133bae151 Fix vrequest state machine w. waiting actions 13 years ago
Stefan Bühler 616904e00f Fix filter reset, reactivate check for static file in mod_cache_disk_etag 13 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 14 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 14 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 14 years ago
Stefan Bühler 595ce1fe13 Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con 14 years ago
Stefan Bühler 7aaa764f49 Added vrequest_joblist_append_async (with a vrequest-reference handling) 14 years ago
Thomas Porzelt ddb0448a96 rework stat_cache 14 years ago
Stefan Bühler 2995cb5ffa Fix previous commit and static forbidden handling 14 years ago
Stefan Bühler be8e8bb3ea Return 404 if no action handled request 14 years ago
Stefan Bühler e020850dc8 Add vrequest_is_handled function 14 years ago
Stefan Bühler bedcc3d46a Added mod_cache_disk_etag: caches produced content on disk and checks for it via etag. 14 years ago
Stefan Bühler 158f42aa0f Add support for filters 14 years ago
Thomas Porzelt 4f44b332c7 fix memory leak in stat cache when connection was closed abruptly 14 years ago
Thomas Porzelt efab0ca75d implement stat cache 14 years ago
Stefan Bühler 4a8ce0a63f Redo boolean conditionals (physical.*) as real actions. 14 years ago
Thomas Porzelt 7766bd8c34 save errno of stat() in request.physical struct to prevent repeated stat()s if failed 14 years ago
Thomas Porzelt 01068d7f1d make docroot a function action instead of setting, add stat member to vr.physical and enable physical.size conditional 14 years ago