50 Commits (061b2a4262496a3396f4052dfb7dd92e034a5774)

Author SHA1 Message Date
Stefan Bühler 7f61ca9dba disable some debug messages 10 years ago
Stefan Bühler 018baa0375 [mod_fastcgi] abort request only if headers aren't sent; otherwise stream disconnect will handle it
out stream disconnects will lead to fastcgi_reset too, but the vrequest is fine in that case
10 years ago
Stefan Bühler 3aa78c1002 wait for request body in dynamic backends, cache them on disk 10 years ago
Stefan Bühler b74ec36c1e [mod_fastcgi]: use backends 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 b1c45e6a8f [chunk/network] use glib error system to report errors (instead of using virtualrequest context) 11 years ago
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 11 years ago
Stefan Bühler 366d00328c Fix bug in delayed connection handling, 2nd try 12 years ago
Stefan Bühler 318b7bf041 Fix bug in delayed connection handling 12 years ago
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 13 years ago
Stefan Bühler ec3fa8251f [mod_fastcgi] stop spamming logfile with repeated error 13 years ago
Stefan Bühler a8efcfcc0e modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker
* create main_worker earlier
13 years ago
Stefan Bühler 048a7d9144 Append to previous buffer in network reads, save used buffer in custom location 13 years ago
Stefan Bühler 13611b5243 Improve balancer handling 13 years ago
Stefan Bühler 5284ce9cb4 Fix option handling: need another opt_base_index for pointer options 13 years ago
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 13 years ago
Stefan Bühler b4c3e2ba02 Add userdata to action-create, setup and plugin-init callbacks 13 years ago
Stefan Bühler dbfad84946 Add fastcgi logging for failed response header parsing 14 years ago
Stefan Bühler e2eb4f774d Added mod_scgi 14 years ago
Stefan Bühler e71b64f41f Add a li_const_gstring method to create fake GStrings; make some GString* parameters const 14 years ago
Stefan Bühler 7568b9c937 mod_fastcgi: add socket address to all log outputs 14 years ago
Stefan Bühler 3949cb0939 Show fastcgi socket in backend log, don't show source file/line for backend logs 14 years ago
Stefan Bühler 77f2a832e7 Fix liRequestUri struct 14 years ago
Stefan Bühler f030824550 Fix server address (do not use the listen address) 14 years ago
Stefan Bühler 41d0490534 Use raw uri for orig-uri and REQUEST_URI/REDIRECT_URI in fastcgi 14 years ago
Stefan Bühler eeddb37e4a Add plugin angel callbacks 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 dfb1db14d7 Use pointer-sign warning in cmake und fix many of them. 14 years ago
Thomas Porzelt 383fa6a4f5 - introduce throttling via pools, rework throttling by connection
- new actions: 'throttle_pool', 'throttle_connection' and 'status'
- don't start waitqueue timer in waitqueue_init(); start/stop timer on demand
- new parameter for network_write(): write_max
- move stats and timeout handling from network_write/read() to connection_cb()
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 194db07279 Use GByteArray in mod_fastcgi 14 years ago
Stefan Bühler 611d7dcac3 Recode the sockaddr handling, fixing some bugs 14 years ago
Stefan Bühler 02c8be5afd Use prepared string for the local/remote socket address in mod_fastcgi 14 years ago
Stefan Bühler 12b421b9a9 Don't block fastcgi if limit on input queue is hit 14 years ago
Stefan Bühler d8d8c8ea1b Disable cqlimit debug, fixed some more bugs with cqlimit. 14 years ago
Stefan Bühler 98a36e970a Change mod_fastcgi to not wait for complete packets (enables limits < 64kbyte); fix some limit handling. 14 years ago
Stefan Bühler 2f9e612c99 Use chunkqueue-limit (setup in plugin_core) 14 years ago
Stefan Bühler b033f0c194 Extended sockaddr_to_string for use in connect-failed error message in mod_fastcgi 14 years ago
Stefan Bühler 050d0d60d6 Fix cast warning (char* -> unsigned char*) in mod_fastcgi 14 years ago
Stefan Bühler c584da22db Handle environment vars in mod_fastcgi 14 years ago
Thomas Porzelt cb4741c56d fix little typo in mod_fastcgi.c comment 14 years ago
Stefan Bühler 5c797977c6 Add stderr log support in mod_fastcgi (split lines from backend in log.c) 14 years ago
Stefan Bühler 3477543277 Fix fastcgi packet reading 14 years ago
Stefan Bühler 587ee27cd0 Added response parser and used it in mod_fastcgi 14 years ago
Stefan Bühler 00869413ee Fix sending endless "FCGI_STDIN" closed events 14 years ago
Stefan Bühler d9ddd4fd3d Remove out-of-fd-handling. 14 years ago
Stefan Bühler 54fd1b08e4 Cleanup some state machine handling 14 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) 14 years ago