Thomas Porzelt
|
fa52e5361b
|
move vrequest_reset() up in connection_reset() so options and addr are still valid when invoking action context cleanup callbacks
|
15 years ago |
Thomas Porzelt
|
736d8c6192
|
add server.max_keep_alive_requests option
|
15 years ago |
Thomas Porzelt
|
7582742257
|
remove connection from throttle queue when resetting
|
15 years ago |
Stefan Bühler
|
2040c059d1
|
Fix connection/network_write state machine
|
15 years ago |
Stefan Bühler
|
3dceeb5916
|
Move include files into a separate directory and cleanup include order
|
15 years ago |
Thomas Porzelt
|
358b9f95f1
|
implement throttling, change some time_t to ev_tstamp
|
15 years ago |
Thomas Porzelt
|
d56e5c2ea9
|
implement waitqueues (utils), change connection io timeouts to use those
|
15 years ago |
Thomas Porzelt
|
b491e91c68
|
add io timeouts
|
15 years ago |
Thomas Porzelt
|
0a63fc8058
|
add client addr string and traffic stats for connections and workers
|
15 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.
|
15 years ago |
Stefan Bühler
|
566cbdb024
|
virtual requests; they replace a big part from connection.
|
15 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
|
15 years ago |
Stefan Bühler
|
36b0ae3628
|
Move request parser data into connection struct
|
15 years ago |
Stefan Bühler
|
7cd0b2aaf6
|
Revert: Add refcount to http headers
|
15 years ago |
Stefan Bühler
|
de6996268f
|
Add refcount to http headers
|
15 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)
|
15 years ago |
Stefan Bühler
|
a17aa92250
|
Move stats into worker
|
15 years ago |
Stefan Bühler
|
00143835d4
|
Move the connection tables into the workers, so no locking needed for them.
|
15 years ago |
Stefan Bühler
|
0a4230cced
|
Added basic notify + locking for workers
|
15 years ago |
Stefan Bühler
|
798085f860
|
Fix some segfaults and add cleanup for worker split
|
15 years ago |
Stefan Bühler
|
0fe9176d6f
|
Splitted worker from server; removed "server *srv" from most function which also have "connection *con"
|
15 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.
|
15 years ago |
Stefan Bühler
|
491b7880cb
|
Fix keep-alive idle.
|
15 years ago |
Stefan Bühler
|
486f64bd7d
|
Added keep-alive and dead state for connection, added timeout for keep-alive.
With "server.max-keep-alive-idle" = 5 (default) you get O(1), other values need O(log n)
|
15 years ago |
Thomas Porzelt
|
4d55315487
|
added first counters
|
15 years ago |
Stefan Bühler
|
066d0f5342
|
Added plugin callbacks for content and close handling
|
15 years ago |
Stefan Bühler
|
6d6fc095ab
|
Fix typo in connections.c
|
15 years ago |
Stefan Bühler
|
124e21ee7d
|
Add 100-Continue handling
|
15 years ago |
Stefan Bühler
|
b8e3535546
|
Enabled options, moved some initializing
|
15 years ago |
Stefan Bühler
|
8de2c27ec6
|
Fix some bugs/warnings.
|
15 years ago |
Stefan Bühler
|
2546ce9259
|
Use ev_now for current timestamp, clean usage of shutdown (wait for eof before close)
|
15 years ago |
Stefan Bühler
|
03458817cc
|
Updated TODO hints
|
15 years ago |
Stefan Bühler
|
1ed36c93b9
|
Handle write errors (fixes ab keep-alive problems)
|
15 years ago |
Stefan Bühler
|
3b4e8f6f8d
|
Add some request header checks.
|
15 years ago |
Stefan Bühler
|
2fbc7b1408
|
Basic connection state machine
|
15 years ago |
Stefan Bühler
|
0a514f657e
|
server/connection/request functions
|
15 years ago |