This website requires JavaScript.
fe90de88be
implement %b (bytes response), %B (bytes response clf) and %X (connection status) in mod_accesslog
Thomas Porzelt
2009-01-07 21:50:07 +0100
6f69d58fec
forgot g_array_set_size() after g_array_sized_new()... duh!
Thomas Porzelt
2009-01-07 21:26:55 +0100
52bcd62d74
fix small leaks
Thomas Porzelt
2009-01-07 21:11:06 +0100
93bd5e2a6a
add additional paramter format_ndx to worker_current_timestamp()
Thomas Porzelt
2009-01-07 20:59:51 +0100
c6d422e5c1
add log.write function action to core plugin
Thomas Porzelt
2009-01-07 00:01:20 +0100
eb794b1dbc
fix %v placeholder in mod_accesslog
Thomas Porzelt
2009-01-06 23:44:39 +0100
4c49705c16
add missing http version to %r placeholder in mod_accesslog
Thomas Porzelt
2009-01-06 23:25:15 +0100
2fb007bd3d
add http_version_string() to utils
Thomas Porzelt
2009-01-06 23:25:07 +0100
3d058707b1
add mod_accesslog
Thomas Porzelt
2009-01-06 22:31:20 +0100
d2cadb3b1e
add option server.name
Thomas Porzelt
2009-01-06 22:30:38 +0100
85a3a4d091
added "if" to condition syntax (if req.path == "/foo" {}) added boolean conditions without operator or rvalue (if phys.is_dir {}, rvalue is always true) added negated boolean conditions (if !phys.is_dir {}, rvalue is always false) added physical.is_dir and .is_file conditionals
Thomas Porzelt
2009-01-06 01:33:20 +0100
01068d7f1d
make docroot a function action instead of setting, add stat member to vr.physical and enable physical.size conditional
Thomas Porzelt
2009-01-05 22:24:54 +0100
2489fbfbfe
fix small typo in config_parser.rl that prevented usaged of physical.* conditionals
Thomas Porzelt
2009-01-05 22:14:47 +0100
d9ddd4fd3d
Remove out-of-fd-handling.
Stefan Bühler
2009-01-04 23:14:08 +0100
5feea39ae6
Remove '-Wmissing-prototypes' from extra warnings list
Stefan Bühler
2009-01-04 22:38:24 +0100
54fd1b08e4
Cleanup some state machine handling
Stefan Bühler
2009-01-04 21:59:56 +0100
825b809b06
fix compile flags for modules in wscript
Thomas Porzelt
2009-01-02 22:07:52 +0100
bf549bbe0d
add check for sizeof(off_t) to MODULE_VERSION_CHECK()
Thomas Porzelt
2009-01-02 22:04:36 +0100
55dd7e3060
add environment.c, mod_fastcgi and --extra-warnings to wscript
Thomas Porzelt
2009-01-01 17:47:23 +0100
c458377d4a
Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes)
Stefan Bühler
2009-01-01 16:44:42 +0100
c56ade056f
Add vrequest "environment" (a GString -> GString hashtable)
Stefan Bühler
2008-12-31 16:23:00 +0100
d30e1b018a
Added some backend/balancer helper, fixed backend-error handling.
Stefan Bühler
2008-12-31 14:36:24 +0100
0d56b1b7b4
add mod_balancer to wscript
Thomas Porzelt
2008-12-31 03:25:54 +0100
6636919623
Completed core balancer support, added a simple test balancer.
Stefan Bühler
2008-12-31 02:57:27 +0100
fa25947b7e
allow anonymous blocks in config parser prefixed by $ (for now)
Thomas Porzelt
2008-12-31 02:54:42 +0100
66f7e669dd
add log level "backend"
Thomas Porzelt
2008-12-31 02:50:32 +0100
025f0b5f84
Removed HANDLER_FINISHED, implemented real job queue and added some basic balancer structs
Stefan Bühler
2008-12-30 21:55:00 +0100
20c3d8c109
Remove unused struct members
Stefan Bühler
2008-12-30 20:53:58 +0100
20dfff0663
Cleanup log macros (moved from con to vrequest)
Stefan Bühler
2008-12-30 14:24:33 +0100
c24704dad5
Move options from connection to vrequest
Stefan Bühler
2008-12-30 01:21:03 +0100
e344591265
unify level info placement in log makros
Thomas Porzelt
2008-12-29 18:46:51 +0100
5f9d9c12a3
remove old, now invalid free in core_list()
Thomas Porzelt
2008-12-29 17:02:14 +0100
52d5978d64
export module_lookup()
Thomas Porzelt
2008-12-26 23:53:52 +0100
23a246a788
add angel.c and angel_fake.c to wscript
Thomas Porzelt
2008-12-26 19:52:14 +0100
eae5ca994e
Enforce IPV6_V6ONLY for ipv6 sockets
Stefan Bühler
2008-12-22 23:06:23 +0100
e8e60b3a04
Add clean ipv6+port parsing for listen()
Stefan Bühler
2008-12-22 22:48:47 +0100
bb59776ea3
Handle errno in angel_fake_log
Stefan Bühler
2008-12-22 17:03:43 +0100
324224fe2e
Implemented two angel "fake" functions
Stefan Bühler
2008-12-20 16:25:02 +0100
9d2b053659
[lua config] Add support for "." separated actions/setups
Stefan Bühler
2008-12-11 01:39:25 +0100
2e830e5517
[cmake] Add support for plugins
Stefan Bühler
2008-12-11 01:39:10 +0100
3ffa1c40bb
fix mod_status handling of error case
Thomas Porzelt
2008-12-10 21:14:50 +0100
fa52e5361b
move vrequest_reset() up in connection_reset() so options and addr are still valid when invoking action context cleanup callbacks
Thomas Porzelt
2008-12-10 21:13:08 +0100
52c3c2e042
update mod_fortune and mod_status for new action context
Thomas Porzelt
2008-12-10 17:33:36 +0100
20e0a9e4e8
add http_method_string() to utils
Thomas Porzelt
2008-12-10 16:36:38 +0100
4a02223f7c
Added per-action context
Stefan Bühler
2008-12-10 00:23:27 +0100
f74d274589
Add other compare operators to lua frontend
Stefan Bühler
2008-12-09 22:38:55 +0100
e438fb58ab
Fix "notequal" string comparison bug
Stefan Bühler
2008-12-09 22:38:37 +0100
4ef644de88
Fix cmake ipv6 detection
Stefan Bühler
2008-12-09 21:30:37 +0100
736d8c6192
add server.max_keep_alive_requests option
Thomas Porzelt
2008-12-07 21:46:29 +0100
d3bfcf9d15
add special chars in strings through \n \" etc. to config parser
Thomas Porzelt
2008-12-07 01:36:38 +0100
58cf85f5d1
remove old log stuff
Thomas Porzelt
2008-12-02 15:58:06 +0100
4e876d4153
remove unnecessary \n from VR_TRACE() in core_handle_static()
Thomas Porzelt
2008-12-02 00:50:30 +0100
096e7667be
add LIGHTTPD_REVISION define and output for -v when compiling from bzr (only waf for now)
Thomas Porzelt
2008-11-25 15:56:12 +0100
b0def14e1f
remove wrong ! from sendfile macro for linux
Thomas Porzelt
2008-11-23 23:47:10 +0100
172ddd69ee
fix wrong define in wscript for writev
Thomas Porzelt
2008-11-23 22:36:00 +0100
d8874eab5f
removed unused vars from network_write.c
Thomas Porzelt
2008-11-23 22:26:23 +0100
be8836a57c
remove old statistics code from network_write.c
Thomas Porzelt
2008-11-23 22:09:51 +0100
7582742257
remove connection from throttle queue when resetting
Thomas Porzelt
2008-11-23 18:23:45 +0100
d5e7aa94a5
fix waitqueue
Thomas Porzelt
2008-11-23 18:23:05 +0100
865aea2ce0
prevent double decrement of wrk->connection_load and active connections
Thomas Porzelt
2008-11-23 18:21:45 +0100
f02689bafb
remove mandatory parameter for libdl, some systems don't have a special lib for it (freebsd)
Thomas Porzelt
2008-11-21 02:25:10 +0100
2fd657cb0b
enable setting of CFLAGS via environment var in wscript
Thomas Porzelt
2008-11-21 02:00:13 +0100
7096926d05
fix check for linux platform in wscript
Thomas Porzelt
2008-11-21 00:44:13 +0100
928b8d52c1
update waf to 1.5, rewrite wscripts
Thomas Porzelt
2008-11-21 00:31:44 +0100
d2381954bf
removed old AIO defines from settings.h
Thomas Porzelt
2008-11-20 20:16:29 +0100
304263f4a1
fix warnings from plugin_core.c
Thomas Porzelt
2008-11-20 16:40:36 +0100
24c7423376
add temporary hack to disable sched_setaffinity when OS != linux
Thomas Porzelt
2008-11-20 03:17:50 +0100
031b6b54c7
add check for HAVE_IPV6 to sockaddr_to_string()
Thomas Porzelt
2008-11-20 03:15:40 +0100
2df4d9686b
fix wrong parameter con instead of new vr in network.c when USE_SENDFILE not defined
Thomas Porzelt
2008-11-20 00:16:57 +0100
0994052566
fix wrong placement of #endif in condition.c => broken code when HAVE_IPV6 not defined
Thomas Porzelt
2008-11-20 00:13:51 +0100
2040c059d1
Fix connection/network_write state machine
Stefan Bühler
2008-11-18 11:14:57 +0100
7a496b610b
Fix comment style // -> /* */
Stefan Bühler
2008-11-18 11:03:59 +0100
6dbaaf5430
fix warnings about shadowed declarations of 'free' and 'value' in headers
Thomas Porzelt
2008-11-18 21:43:02 +0100
4080ddcd16
cosmetic changes of 'defined x to defined(x)' in settings.h to unify usage
Thomas Porzelt
2008-11-18 21:36:31 +0100
75ce595e5b
add LIGHT_OS_XYZ macros
Thomas Porzelt
2008-11-18 21:12:10 +0100
1954f46a03
return NETWORK_STATUS_WAIT_FOR_AIO_EVENT instead of NETWORK_STATUS_WAIT_FOR_EVENT when throttling
Thomas Porzelt
2008-11-17 23:08:55 +0100
06225998c6
Fix typos in sendfile (again)
Stefan Bühler
2008-11-17 21:50:03 +0100
ec16ebea3c
Fix typos in sendfile
Stefan Bühler
2008-11-17 21:42:52 +0100
99733ef5a7
Add OS X sendfile implementation (and fix the freebsd one)
Stefan Bühler
2008-11-17 20:54:19 +0100
84b7487cc4
add USE_OSX_SENDFILE macro
Thomas Porzelt
2008-11-17 20:24:36 +0100
94b4dcc764
Generic sendfile implementation (supports linux,solaris and freebsd now)
Stefan Bühler
2008-11-17 20:23:16 +0100
91d4868ef4
Move stats and throttle to network.c
Stefan Bühler
2008-11-17 19:26:41 +0100
fae25515fa
Split waitqueue from utils
Stefan Bühler
2008-11-17 10:26:25 +0100
463d1c6435
Fix modules and waf for new include dir
Stefan Bühler
2008-11-16 22:16:52 +0100
6c573e5e00
Check for POSIX_FADV_SEQUENTIAL before using it
Stefan Bühler
2008-11-16 22:06:28 +0100
3dceeb5916
Move include files into a separate directory and cleanup include order
Stefan Bühler
2008-11-16 21:33:53 +0100
358b9f95f1
implement throttling, change some time_t to ev_tstamp
Thomas Porzelt
2008-11-12 22:16:52 +0100
e9f8b51452
add LOG_TYPE_NONE that doesn't log anything
Thomas Porzelt
2008-11-12 17:38:32 +0100
a2a0818cb4
remove cast to time_t in CUR_TS() makro. it caused some deviation
Thomas Porzelt
2008-11-12 02:11:43 +0100
d56e5c2ea9
implement waitqueues (utils), change connection io timeouts to use those
Thomas Porzelt
2008-11-12 02:09:52 +0100
8161336538
add fallback static action if built-in cfg parser used
Thomas Porzelt
2008-11-10 22:48:13 +0100
b491e91c68
add io timeouts
Thomas Porzelt
2008-11-10 15:39:03 +0100
abb7bc1067
fix segfault when no host header in request
Thomas Porzelt
2008-11-10 02:16:02 +0100
64e823f83a
use g_mutex instead of g_static_mutex in profiler.c
Thomas Porzelt
2008-11-03 15:21:46 +0100
bfad826aa5
fix small memleak in worker_add_closing_socket()
Thomas Porzelt
2008-11-03 15:20:49 +0100
67f89abffc
add mod_status
Thomas Porzelt
2008-11-03 15:19:23 +0100
0a63fc8058
add client addr string and traffic stats for connections and workers
Thomas Porzelt
2008-11-03 15:18:46 +0100
2538f522ec
add sockaddr_to_string() and counter_format2() to utils.c
Thomas Porzelt
2008-11-03 15:10:25 +0100
245cecb1e2
add srv->started (timestamp) and srv->started_str (formatted ts)
Thomas Porzelt
2008-11-03 14:33:07 +0100
1d133a52ed
add missing free if -m option specified
Thomas Porzelt
2008-11-02 12:58:39 +0100