2
0
Fork 0
Commit Graph

29 Commits (004dfc1bf663edf8bcd15b186a6c61b496cdec36)

Author SHA1 Message Date
Thomas Porzelt efab0ca75d implement stat cache 2009-03-01 21:16:58 +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
Thomas Porzelt 70a495de6f fix ev_tstamp vs. time_t problems in worker_current_timestamp() 2009-01-09 21:32:49 +01:00
Thomas Porzelt 549f097ea1 fix worker_current_timestamp() caching 2009-01-07 23:36:17 +01:00
Thomas Porzelt 6f69d58fec forgot g_array_set_size() after g_array_sized_new()... duh! 2009-01-07 21:26:55 +01:00
Thomas Porzelt 52bcd62d74 fix small leaks 2009-01-07 21:11:06 +01:00
Thomas Porzelt 93bd5e2a6a add additional paramter format_ndx to worker_current_timestamp() 2009-01-07 20:59:51 +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
Stefan Bühler 025f0b5f84 Removed HANDLER_FINISHED, implemented real job queue and added some basic balancer structs 2008-12-30 21:55:00 +01:00
Stefan Bühler 20dfff0663 Cleanup log macros (moved from con to vrequest) 2008-12-30 14:24:33 +01:00
Thomas Porzelt 865aea2ce0 prevent double decrement of wrk->connection_load and active connections 2008-11-23 18:21:45 +01:00
Thomas Porzelt 24c7423376 add temporary hack to disable sched_setaffinity when OS != linux 2008-11-20 03:17:50 +01:00
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 2008-11-16 21:33:53 +01:00
Thomas Porzelt 358b9f95f1 implement throttling, change some time_t to ev_tstamp 2008-11-12 22:16:52 +01:00
Thomas Porzelt d56e5c2ea9 implement waitqueues (utils), change connection io timeouts to use those 2008-11-12 02:09:52 +01:00
Thomas Porzelt b491e91c68 add io timeouts 2008-11-10 15:39:03 +01:00
Thomas Porzelt bfad826aa5 fix small memleak in worker_add_closing_socket() 2008-11-03 15:20:49 +01:00
Thomas Porzelt 0a63fc8058 add client addr string and traffic stats for connections and workers 2008-11-03 15:18:46 +01:00
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. 2008-10-28 22:11:50 +01:00
Stefan Bühler 566cbdb024 virtual requests; they replace a big part from connection. 2008-10-25 14:53:57 +02:00
Stefan Bühler a88ca5238c Add the "collect" framework, which collects results from a function executed in each worker context 2008-09-26 10:36:36 +02:00
Stefan Bühler 3c00360259 log requests/sec stats per worker 2008-09-25 22:49:32 +02:00
Stefan Bühler 721cb88985 Kill some memleaks 2008-09-24 20:02:47 +02:00
Stefan Bühler 00143835d4 Move the connection tables into the workers, so no locking needed for them. 2008-09-24 18:59:49 +02:00
Stefan Bühler 14cb73e80b Set cpu affinity 2008-09-09 20:47:10 +02:00
Stefan Bühler 267b0bf6fc shutdown sockets immediatly if srv->exiting is true 2008-09-09 18:09:20 +02:00
Stefan Bühler 58351b5ff0 Clean libev loops 2008-09-09 17:27:37 +02:00
Stefan Bühler 0a4230cced Added basic notify + locking for workers 2008-09-09 02:22:21 +02:00
Stefan Bühler 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" 2008-09-08 02:20:55 +02:00