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
14 years ago
Stefan Bühler
13611b5243
Improve balancer handling
14 years ago
Stefan Bühler
5284ce9cb4
Fix option handling: need another opt_base_index for pointer options
14 years ago
Stefan Bühler
f14103bc2c
Split options into two categories: simple (int, bool) and ref-counted pointers
14 years ago
Stefan Bühler
b4c3e2ba02
Add userdata to action-create, setup and plugin-init callbacks
14 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
15 years ago
Thomas Porzelt
cb4741c56d
fix little typo in mod_fastcgi.c comment
15 years ago
Stefan Bühler
5c797977c6
Add stderr log support in mod_fastcgi (split lines from backend in log.c)
15 years ago
Stefan Bühler
3477543277
Fix fastcgi packet reading
15 years ago
Stefan Bühler
587ee27cd0
Added response parser and used it in mod_fastcgi
15 years ago
Stefan Bühler
00869413ee
Fix sending endless "FCGI_STDIN" closed events
15 years ago
Stefan Bühler
d9ddd4fd3d
Remove out-of-fd-handling.
15 years ago
Stefan Bühler
54fd1b08e4
Cleanup some state machine handling
15 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)
15 years ago