6c573e5e00Check for POSIX_FADV_SEQUENTIAL before using itStefan Bühler2008-11-16 22:06:28 +01:00
3dceeb5916Move include files into a separate directory and cleanup include orderStefan Bühler2008-11-16 21:33:53 +01:00
358b9f95f1implement throttling, change some time_t to ev_tstamp
Thomas Porzelt
2008-11-12 22:16:52 +01:00
e9f8b51452add LOG_TYPE_NONE that doesn't log anything
Thomas Porzelt
2008-11-12 17:38:32 +01:00
a2a0818cb4remove cast to time_t in CUR_TS() makro. it caused some deviation
Thomas Porzelt
2008-11-12 02:11:43 +01:00
d56e5c2ea9implement waitqueues (utils), change connection io timeouts to use those
Thomas Porzelt
2008-11-12 02:09:52 +01:00
8161336538add fallback static action if built-in cfg parser used
Thomas Porzelt
2008-11-10 22:48:13 +01:00
b491e91c68add io timeouts
Thomas Porzelt
2008-11-10 15:39:03 +01:00
abb7bc1067fix segfault when no host header in request
Thomas Porzelt
2008-11-10 02:16:02 +01:00
64e823f83ause g_mutex instead of g_static_mutex in profiler.c
Thomas Porzelt
2008-11-03 15:21:46 +01:00
bfad826aa5fix small memleak in worker_add_closing_socket()
Thomas Porzelt
2008-11-03 15:20:49 +01:00
67f89abffcadd mod_status
Thomas Porzelt
2008-11-03 15:19:23 +01:00
0a63fc8058add client addr string and traffic stats for connections and workers
Thomas Porzelt
2008-11-03 15:18:46 +01:00
2538f522ecadd sockaddr_to_string() and counter_format2() to utils.c
Thomas Porzelt
2008-11-03 15:10:25 +01:00
245cecb1e2add srv->started (timestamp) and srv->started_str (formatted ts)
Thomas Porzelt
2008-11-03 14:33:07 +01:00
1d133a52edadd missing free if -m option specified
Thomas Porzelt
2008-11-02 12:58:39 +01:00
649f7baf78Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header.Stefan Bühler2008-10-28 22:11:50 +01:00
bdce397e70get rid of global vars in mod_fortune
Thomas Porzelt
2008-10-27 20:12:52 +01:00
84fb6a5574add missing call to p->free() in plugin_free
Thomas Porzelt
2008-10-27 20:12:48 +01:00
5c564c7c0aadded srv->started_str, small fix in server_free()
Thomas Porzelt
2008-10-24 17:50:39 +02:00
d7bfbde1fcremoveleft over testing code from mod_fortune
Thomas Porzelt
2008-10-23 18:23:13 +02:00
616180e9acadd mod_fortune
Thomas Porzelt
2008-10-22 17:11:32 +02:00
59fdb03ee0implement loading of modules
Thomas Porzelt
2008-10-22 16:54:44 +02:00
bbb3c8c69dimproved profiler (hashfunc and free-list)
Thomas Porzelt
2008-10-18 19:28:37 +02:00
24777f99d7tiny race fix for profiler_free(); added profiler_dump_table()
Thomas Porzelt
2008-10-18 00:42:34 +02:00
eb73fe1651changed profiler from glib to own implementation that doesn't leak all the memory...
Thomas Porzelt
2008-10-18 00:06:06 +02:00
b5f2442d5fadded profile_mem action that dumps memory stats to stdout, enable with LIGHTY_PROFILE_MEM=true env var
Thomas Porzelt
2008-10-17 18:08:40 +02:00
ed347d2f0csmall memory fix in log.c
Thomas Porzelt
2008-10-17 18:07:38 +02:00
5933f9b3c5use value_list_free() in core_header_free() from plugin_core.c
Thomas Porzelt
2008-10-04 20:00:10 +02:00
2ac5c5c0a5fix http_header_append and http_header_overwrite
Thomas Porzelt
2008-10-04 03:31:17 +02:00
5dde1fafb5add header_add, _append and _overwrite actions to plugin_core
Thomas Porzelt
2008-10-04 03:21:31 +02:00
29bf342675fix erronous free when no configfile specified
Thomas Porzelt
2008-10-03 02:27:42 +02:00
20956e757eadd mimetype info to static action
Thomas Porzelt
2008-10-03 01:50:47 +02:00
29c962fe06add mime_types option and mimetype_get() function
Thomas Porzelt
2008-10-02 21:46:06 +02:00
107798b883better http_status_to_str()
Thomas Porzelt
2008-10-02 17:43:05 +02:00
34281b50f1send proper error pages
Thomas Porzelt
2008-10-02 17:38:57 +02:00
eb5aa9d9d4fix and comment ip hashing functions
Thomas Porzelt
2008-10-02 02:37:36 +02:00
21c391da66ipv4 and ipv6 hashing functions
Thomas Porzelt
2008-10-02 02:33:51 +02:00
f23b051c30moved freeing of value after parsing in plugin_set_default_option(); made that function static
Thomas Porzelt
2008-10-02 00:13:07 +02:00
472e7a81a9changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser
Thomas Porzelt
2008-10-01 22:20:31 +02:00
604042b24cfixed segfault in server_free() if workers are not allocated yet; removed virtualrequest.h include from base.h
Thomas Porzelt
2008-09-30 20:26:21 +02:00
36b0ae3628Move request parser data into connection structStefan Bühler2008-09-29 17:07:53 +02:00
5d0d12c0bdUpdated cmake ragel rules to build config parser with -T0 instead of -T1Stefan Bühler2008-09-26 16:17:04 +02:00
091f122aadRenamed option -> value, some other minor/related renames; added option_value as datatype for the value of options (union for ptr/gin64)Stefan Bühler2008-09-26 16:11:08 +02:00
a88ca5238cAdd the "collect" framework, which collects results from a function executed in each worker contextStefan Bühler2008-09-26 10:36:36 +02:00