2
0
Fork 0
Commit Graph

25 Commits

Author SHA1 Message Date
Thomas Porzelt 472e7a81a9 changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser 2008-10-01 22:20:31 +02:00
Stefan Bühler 36b0ae3628 Move request parser data into connection struct 2008-09-29 17:07:53 +02:00
Stefan Bühler 7cd0b2aaf6 Revert: Add refcount to http headers 2008-09-29 15:46:58 +02:00
Stefan Bühler de6996268f Add refcount to http headers 2008-09-29 13:02:30 +02:00
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)
2008-09-26 16:11:08 +02:00
Stefan Bühler a17aa92250 Move stats into worker 2008-09-25 16:59:09 +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 0a4230cced Added basic notify + locking for workers 2008-09-09 02:22:21 +02:00
Stefan Bühler 798085f860 Fix some segfaults and add cleanup for worker split 2008-09-08 02:25:55 +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
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. 2008-09-02 20:30:39 +02:00
Stefan Bühler 491b7880cb Fix keep-alive idle. 2008-08-17 21:27:09 +02:00
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)
2008-08-17 18:24:09 +02:00
Thomas Porzelt 4d55315487 added first counters 2008-08-14 01:05:15 +02:00
Stefan Bühler 066d0f5342 Added plugin callbacks for content and close handling 2008-08-08 19:44:54 +02:00
Stefan Bühler 6d6fc095ab Fix typo in connections.c 2008-08-08 19:34:00 +02:00
Stefan Bühler 124e21ee7d Add 100-Continue handling 2008-08-08 19:12:36 +02:00
Stefan Bühler b8e3535546 Enabled options, moved some initializing 2008-08-08 18:49:00 +02:00
Stefan Bühler 8de2c27ec6 Fix some bugs/warnings. 2008-08-07 22:52:53 +02:00
Stefan Bühler 2546ce9259 Use ev_now for current timestamp, clean usage of shutdown (wait for eof before close) 2008-08-07 16:50:36 +02:00
Stefan Bühler 03458817cc Updated TODO hints 2008-08-07 14:12:51 +02:00
Stefan Bühler 1ed36c93b9 Handle write errors (fixes ab keep-alive problems) 2008-08-07 02:25:02 +02:00
Stefan Bühler 3b4e8f6f8d Add some request header checks. 2008-08-07 01:44:09 +02:00
Stefan Bühler 2fbc7b1408 Basic connection state machine 2008-08-06 20:46:42 +02:00
Stefan Bühler 0a514f657e server/connection/request functions 2008-08-05 17:08:32 +02:00