2
0
Fork 0
Commit Graph

280 Commits (0a63fc8058daed677c1a9246aca9cb90cce75045)

Author SHA1 Message Date
Thomas Porzelt 0a63fc8058 add client addr string and traffic stats for connections and workers 2008-11-03 15:18:46 +01:00
Thomas Porzelt 2538f522ec add sockaddr_to_string() and counter_format2() to utils.c 2008-11-03 15:10:25 +01:00
Thomas Porzelt 245cecb1e2 add srv->started (timestamp) and srv->started_str (formatted ts) 2008-11-03 14:33:07 +01:00
Thomas Porzelt 1d133a52ed add missing free if -m option specified 2008-11-02 12:58:39 +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
Thomas Porzelt bdce397e70 get rid of global vars in mod_fortune 2008-10-27 20:12:52 +01:00
Thomas Porzelt 84fb6a5574 add missing call to p->free() in plugin_free 2008-10-27 20:12:48 +01:00
Stefan Bühler 7954e0f8d3 Modify vrequest_error 2008-10-27 17:49:06 +01:00
Thomas Porzelt 9b2773750e update mod_fortune for virtual request code, readd to wscript 2008-10-26 13:33:02 +01:00
Thomas Porzelt f4725264de add virtualrequest.c to wscript, temporarily remove mod_fortune 2008-10-25 19:51:30 +02:00
Stefan Bühler b83e3a29ce Fix vrequest merge 2008-10-25 18:01:02 +02:00
Stefan Bühler 73fff068c3 Merge virtual requests 2008-10-25 15:25:02 +02: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 9430770903 [cmake] Add module support 2008-10-25 14:48:12 +02:00
Stefan Bühler 4b24952c02 Change cmake required version to 2.6.0 2008-10-25 13:45:41 +02:00
Thomas Porzelt 5c564c7c0a added srv->started_str, small fix in server_free() 2008-10-24 17:50:39 +02:00
Thomas Porzelt d7bfbde1fc removeleft over testing code from mod_fortune 2008-10-23 18:23:13 +02:00
Thomas Porzelt 616180e9ac add mod_fortune 2008-10-22 17:11:32 +02:00
Thomas Porzelt 59fdb03ee0 implement loading of modules 2008-10-22 16:54:44 +02:00
Thomas Porzelt bbb3c8c69d improved profiler (hashfunc and free-list) 2008-10-18 19:28:37 +02:00
Thomas Porzelt 24777f99d7 tiny race fix for profiler_free(); added profiler_dump_table() 2008-10-18 00:42:34 +02:00
Thomas Porzelt eb73fe1651 changed profiler from glib to own implementation that doesn't leak all the memory... 2008-10-18 00:06:06 +02:00
Thomas Porzelt b5f2442d5f added profile_mem action that dumps memory stats to stdout, enable with LIGHTY_PROFILE_MEM=true env var 2008-10-17 18:08:40 +02:00
Thomas Porzelt ed347d2f0c small memory fix in log.c 2008-10-17 18:07:38 +02:00
Thomas Porzelt 5933f9b3c5 use value_list_free() in core_header_free() from plugin_core.c 2008-10-04 20:00:10 +02:00
Thomas Porzelt 2ac5c5c0a5 fix http_header_append and http_header_overwrite 2008-10-04 03:31:17 +02:00
Thomas Porzelt 5dde1fafb5 add header_add, _append and _overwrite actions to plugin_core 2008-10-04 03:21:31 +02:00
Thomas Porzelt 29bf342675 fix erronous free when no configfile specified 2008-10-03 02:27:42 +02:00
Thomas Porzelt 20956e757e add mimetype info to static action 2008-10-03 01:50:47 +02:00
Thomas Porzelt 24f4a86576 added 'log' option parser error handling 2008-10-03 00:59:59 +02:00
Thomas Porzelt d7b17a7746 add 'docroot' option, remove 'physical' action 2008-10-03 00:52:46 +02:00
Thomas Porzelt 29c962fe06 add mime_types option and mimetype_get() function 2008-10-02 21:46:06 +02:00
Thomas Porzelt 107798b883 better http_status_to_str() 2008-10-02 17:43:05 +02:00
Thomas Porzelt 34281b50f1 send proper error pages 2008-10-02 17:38:57 +02:00
Thomas Porzelt eb5aa9d9d4 fix and comment ip hashing functions 2008-10-02 02:37:36 +02:00
Thomas Porzelt 21c391da66 ipv4 and ipv6 hashing functions 2008-10-02 02:33:51 +02:00
Thomas Porzelt f23b051c30 moved freeing of value after parsing in plugin_set_default_option(); made that function static 2008-10-02 00:13:07 +02:00
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
Thomas Porzelt 604042b24c fixed segfault in server_free() if workers are not allocated yet; removed virtualrequest.h include from base.h 2008-09-30 20:26:21 +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
Thomas Porzelt 5150637e13 implemented port feature for listen setup; small memleak und config parser fixes 2008-09-27 17:06:43 +02:00
Stefan Bühler e1504a252f free value always from the calling function 2008-09-27 12:45:43 +02:00
Stefan Bühler d6b28e47aa Fix segfault if config parser failed 2008-09-27 12:44:04 +02:00
Thomas Porzelt 480de71283 small memleak fix 2008-09-27 00:37:50 +02:00
Thomas Porzelt 5e1ebf3c05 fixed small leak (config_path parameter) 2008-09-27 00:17:19 +02:00
Thomas Porzelt 30bae997eb moved log cleanups to own function; fixed memleaks in config parser and plugin_core 2008-09-27 00:09:12 +02:00
Stefan Bühler 5d27591a49 Fix return TRUE in a void function 2008-09-26 18:06:24 +02:00
Stefan Bühler 34c513c645 Fix waf wscript for the renamed files 2008-09-26 18:06:07 +02:00