2
0
Fork 0
Commit Graph

45 Commits (b41cc2898a91f7e2b458f8cebf8fe216afe4ac43)

Author SHA1 Message Date
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 2012-03-17 15:52:19 +01:00
Stefan Bühler b1c45e6a8f [chunk/network] use glib error system to report errors (instead of using virtualrequest context) 2012-03-16 15:44:22 +01:00
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 2012-03-16 13:25:52 +01:00
Stefan Bühler 366d00328c Fix bug in delayed connection handling, 2nd try 2010-12-27 16:21:13 +01:00
Stefan Bühler 318b7bf041 Fix bug in delayed connection handling 2010-12-27 16:06:34 +01:00
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 2010-08-11 13:27:27 +02:00
Stefan Bühler ec3fa8251f [mod_fastcgi] stop spamming logfile with repeated error 2010-08-10 15:37:07 +02:00
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
2010-05-07 20:54:50 +02:00
Stefan Bühler 048a7d9144 Append to previous buffer in network reads, save used buffer in custom location 2010-02-10 22:25:48 +01:00
Stefan Bühler 13611b5243 Improve balancer handling 2010-02-09 22:37:28 +01:00
Stefan Bühler 5284ce9cb4 Fix option handling: need another opt_base_index for pointer options 2010-01-27 17:38:27 +01:00
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 2010-01-24 23:00:51 +01:00
Stefan Bühler b4c3e2ba02 Add userdata to action-create, setup and plugin-init callbacks 2009-12-21 12:29:14 +01:00
Stefan Bühler dbfad84946 Add fastcgi logging for failed response header parsing 2009-11-11 15:06:09 +01:00
Stefan Bühler e2eb4f774d Added mod_scgi 2009-10-18 17:41:06 +02:00
Stefan Bühler e71b64f41f Add a li_const_gstring method to create fake GStrings; make some GString* parameters const 2009-10-08 14:33:47 +02:00
Stefan Bühler 7568b9c937 mod_fastcgi: add socket address to all log outputs 2009-10-05 20:26:48 +02:00
Stefan Bühler 3949cb0939 Show fastcgi socket in backend log, don't show source file/line for backend logs 2009-10-03 15:26:03 +02:00
Stefan Bühler 77f2a832e7 Fix liRequestUri struct 2009-09-13 17:45:41 +02:00
Stefan Bühler f030824550 Fix server address (do not use the listen address) 2009-09-09 18:12:05 +02:00
Stefan Bühler 41d0490534 Use raw uri for orig-uri and REQUEST_URI/REDIRECT_URI in fastcgi 2009-09-09 00:56:59 +02:00
Stefan Bühler eeddb37e4a Add plugin angel callbacks 2009-08-30 19:25:01 +02:00
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 2009-07-09 22:17:24 +02:00
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 2009-07-08 21:06:07 +02:00
Stefan Bühler dfb1db14d7 Use pointer-sign warning in cmake und fix many of them. 2009-04-17 21:53:17 +02:00
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()
2009-04-16 17:02:53 +02:00
Stefan Bühler 595ce1fe13 Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con 2009-04-15 12:34:06 +02:00
Stefan Bühler 194db07279 Use GByteArray in mod_fastcgi 2009-04-03 14:36:41 +02:00
Stefan Bühler 611d7dcac3 Recode the sockaddr handling, fixing some bugs 2009-04-03 14:29:55 +02:00
Stefan Bühler 02c8be5afd Use prepared string for the local/remote socket address in mod_fastcgi 2009-04-02 22:59:43 +02:00
Stefan Bühler 12b421b9a9 Don't block fastcgi if limit on input queue is hit 2009-03-11 21:16:30 +01:00
Stefan Bühler d8d8c8ea1b Disable cqlimit debug, fixed some more bugs with cqlimit. 2009-03-02 01:02:21 +01:00
Stefan Bühler 98a36e970a Change mod_fastcgi to not wait for complete packets (enables limits < 64kbyte); fix some limit handling. 2009-03-02 00:49:02 +01:00
Stefan Bühler 2f9e612c99 Use chunkqueue-limit (setup in plugin_core) 2009-03-01 21:23:24 +01:00
Stefan Bühler b033f0c194 Extended sockaddr_to_string for use in connect-failed error message in mod_fastcgi 2009-03-01 17:15:52 +01:00
Stefan Bühler 050d0d60d6 Fix cast warning (char* -> unsigned char*) in mod_fastcgi 2009-03-01 15:54:19 +01:00
Stefan Bühler c584da22db Handle environment vars in mod_fastcgi 2009-02-15 18:59:30 +01:00
Thomas Porzelt cb4741c56d fix little typo in mod_fastcgi.c comment 2009-02-12 23:03:52 +01:00
Stefan Bühler 5c797977c6 Add stderr log support in mod_fastcgi (split lines from backend in log.c) 2009-02-03 15:25:14 +01:00
Stefan Bühler 3477543277 Fix fastcgi packet reading 2009-01-10 15:50:04 +01:00
Stefan Bühler 587ee27cd0 Added response parser and used it in mod_fastcgi 2009-01-10 13:30:58 +01:00
Stefan Bühler 00869413ee Fix sending endless "FCGI_STDIN" closed events 2009-01-09 21:21:18 +01:00
Stefan Bühler d9ddd4fd3d Remove out-of-fd-handling. 2009-01-04 23:14:08 +01:00
Stefan Bühler 54fd1b08e4 Cleanup some state machine handling 2009-01-04 21:59:56 +01:00
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 2009-01-01 16:44:42 +01:00