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
0d6795f08a
Remove write event if out queue gets empty
13 years ago
Stefan Bühler
08bb8f7c23
Some request handling bugs (keep-alive, content-length, pipelining)
13 years ago
Stefan Bühler
f030824550
Fix server address (do not use the listen address)
13 years ago
Stefan Bühler
2484a45c1f
Set con->is_ssl
13 years ago
Stefan Bühler
a663088a77
Add custom server socket callbacks (for ssl modules)
13 years ago
Stefan Bühler
c77ba3eb20
Cleanup connection code
13 years ago
Thomas Porzelt
df225dc007
[core] Limit request uri to 8 kilobytes and whole request header to 64 kilobytes
13 years ago
Stefan Bühler
56ff7ca32a
angel/lighty now synchronize the server state
13 years ago
Thomas Porzelt
6184f88e08
[core] Fix connection bandwidth stats calculation
13 years ago
Stefan Bühler
fe54d1fe9d
Send 400 if header parsing failed
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
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
611d7dcac3
Recode the sockaddr handling, fixing some bugs
14 years ago
Stefan Bühler
764ce8335b
Disable keep-alive if server was stopped
14 years ago
Stefan Bühler
d8d8c8ea1b
Disable cqlimit debug, fixed some more bugs with cqlimit.
14 years ago
Stefan Bühler
2f9e612c99
Use chunkqueue-limit (setup in plugin_core)
14 years ago
Stefan Bühler
2708d6deaa
Fix handling request content and 100-continue
14 years ago
Stefan Bühler
4a5aa5361e
Added/fixed chunked encoded transfer
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
Stefan Bühler
025f0b5f84
Removed HANDLER_FINISHED, implemented real job queue and added some basic balancer structs
14 years ago
Stefan Bühler
20dfff0663
Cleanup log macros (moved from con to vrequest)
14 years ago
Stefan Bühler
c24704dad5
Move options from connection to vrequest
14 years ago
Thomas Porzelt
fa52e5361b
move vrequest_reset() up in connection_reset() so options and addr are still valid when invoking action context cleanup callbacks
14 years ago
Thomas Porzelt
736d8c6192
add server.max_keep_alive_requests option
14 years ago
Thomas Porzelt
7582742257
remove connection from throttle queue when resetting
14 years ago
Stefan Bühler
2040c059d1
Fix connection/network_write state machine
14 years ago
Stefan Bühler
3dceeb5916
Move include files into a separate directory and cleanup include order
14 years ago
Thomas Porzelt
358b9f95f1
implement throttling, change some time_t to ev_tstamp
14 years ago
Thomas Porzelt
d56e5c2ea9
implement waitqueues (utils), change connection io timeouts to use those
14 years ago
Thomas Porzelt
b491e91c68
add io timeouts
14 years ago
Thomas Porzelt
0a63fc8058
add client addr string and traffic stats for connections and workers
14 years ago
Stefan Bühler
649f7baf78
Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header.
14 years ago
Stefan Bühler
566cbdb024
virtual requests; they replace a big part from connection.
14 years ago
Thomas Porzelt
472e7a81a9
changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser
14 years ago
Stefan Bühler
36b0ae3628
Move request parser data into connection struct
14 years ago
Stefan Bühler
7cd0b2aaf6
Revert: Add refcount to http headers
14 years ago
Stefan Bühler
de6996268f
Add refcount to http headers
14 years ago
Stefan Bühler
091f122aad
Renamed option -> value, some other minor/related renames; added option_value as
...
datatype for the value of options (union for ptr/gin64)
14 years ago
Stefan Bühler
a17aa92250
Move stats into worker
14 years ago
Stefan Bühler
00143835d4
Move the connection tables into the workers, so no locking needed for them.
14 years ago
Stefan Bühler
0a4230cced
Added basic notify + locking for workers
14 years ago
Stefan Bühler
798085f860
Fix some segfaults and add cleanup for worker split
14 years ago
Stefan Bühler
0fe9176d6f
Splitted worker from server; removed "server *srv" from most function which also have "connection *con"
14 years ago
Stefan Bühler
ecd1082378
Remove "my_ev_init" as we now have -fno-strict-aliasing; workaround was stupid anyway. Move static ev_signal vars into server struct.
14 years ago
Stefan Bühler
491b7880cb
Fix keep-alive idle.
14 years ago