Thomas Porzelt
|
2df4d9686b
|
fix wrong parameter con instead of new vr in network.c when USE_SENDFILE not defined
|
15 years ago |
Stefan Bühler
|
2040c059d1
|
Fix connection/network_write state machine
|
15 years ago |
Thomas Porzelt
|
1954f46a03
|
return NETWORK_STATUS_WAIT_FOR_AIO_EVENT instead of NETWORK_STATUS_WAIT_FOR_EVENT when throttling
|
15 years ago |
Stefan Bühler
|
94b4dcc764
|
Generic sendfile implementation (supports linux,solaris and freebsd now)
|
15 years ago |
Stefan Bühler
|
91d4868ef4
|
Move stats and throttle to network.c
|
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 |
Stefan Bühler
|
2b9147ba50
|
Fix missing ':' after case EWOULDBLOCK
|
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
|
1bc8c85266
|
* replace strerror with g_strerror, kill errno from logging
* starting chunked encoding filter
* network write cleanup + sendfile backend (default for now)
|
15 years ago |
Stefan Bühler
|
754ee742b2
|
Start splitting network backends, added writev and TCP_CORK
|
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
|
1ed36c93b9
|
Handle write errors (fixes ab keep-alive problems)
|
15 years ago |
Stefan Bühler
|
3041e2429d
|
Fix writing (unititialized var)
|
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 |