Stefan Bühler
3bc425fef1
Remove config parser code from main(), add cmake-option to disable default config parser
2009-12-13 21:35:46 +01:00
Stefan Bühler
eff8ed5e50
Add request.environment[] conditional
2009-12-13 00:36:56 +01:00
Stefan Bühler
0c3ca6b13b
add liBuffer: a reference-counted memory chunk (using mempool) for basic network data
2009-11-29 17:54:01 +01:00
Stefan Bühler
f9b12036fe
Add mempool allocator to avoid fragmentation
2009-11-29 15:22:57 +01:00
Stefan Bühler
8f69c6bc8d
Reduce buffer allocs for network read
2009-11-22 18:50:11 +01:00
Stefan Bühler
1ac09ac2d1
Use relative timestamp for angel call timeouts, increase angel-listen timeout.
...
* While lighty runs the initialization, the difference between ev_now()
and ev_time() might be bigger than the timeout - which leads to an
immediate timeout.
2009-11-22 14:48:18 +01:00
Thomas Porzelt
9989cd62ce
[core] Fix value statements in config parser (now using stack for operator)
2009-11-21 16:36:42 +01:00
Stefan Bühler
8a8fb91729
Add some features to mod_dirlist, move directory-redirect to vrequest functions and use it for index files
2009-11-15 21:59:16 +01:00
Stefan Bühler
c3ae0163c8
Use less pointers in chunks, "inline" structures
2009-11-08 11:12:12 +01:00
Thomas Porzelt
6bf284b754
[core] Record peak values of worker stats
2009-11-07 15:42:03 +01:00
Stefan Bühler
d9228f3ef0
Add per worker lua_State
2009-11-01 15:43:12 +01:00
Stefan Bühler
c6741f7716
Implement li_filter_chunked_decode + one unit-test for it
2009-10-19 21:45:00 +02:00
Stefan Bühler
75e5fdca69
Drop 1xx responses in response parsing
2009-10-19 18:59:26 +02:00
Thomas Porzelt
09779e6a04
Forgot updated header in previous commit
2009-10-18 20:11:35 +02:00
Stefan Bühler
92904247d6
angel: support for restaring instance with SIGHUP
2009-10-17 23:50:41 +02:00
Stefan Bühler
a25d0f81d0
utils: added some hash/equal functions
2009-10-17 23:50:21 +02:00
Stefan Bühler
be6e2f4466
Fix etags (broken as "throttle" option was removed but not removed from enum)
2009-10-12 00:09:22 +02:00
Stefan Bühler
0fe57dc215
mod_auth: add htdigest and htpasswd (no apr-md5) backend
2009-10-10 19:27:42 +02:00
Stefan Bühler
a151eeac2f
Prefix li_ cleanup, verified with nm -g --defined-only
2009-10-09 15:38:12 +02:00
Stefan Bühler
e71b64f41f
Add a li_const_gstring method to create fake GStrings; make some GString* parameters const
2009-10-08 14:33:47 +02:00
Stefan Bühler
4a10b6a85a
Add static.exclude_extensions
2009-10-08 13:37:53 +02:00
Stefan Bühler
dc05e13c97
Implement ranged requests for static files
2009-10-07 22:49:40 +02:00
Stefan Bühler
24a34c3633
Export li_chunkfile functions
2009-10-07 22:48:57 +02:00
Stefan Bühler
a49d51bdd3
Support keep-alive vrequest reset, which keeps some request data to be shown in mod_status
2009-10-07 16:02:09 +02:00
Stefan Bühler
4653900eca
Fix stat-cache ref counting
2009-10-05 19:41:48 +02:00
Stefan Bühler
e3393ce2f5
angel: add support for setting RLIMIT_CORE / RLIMIT_NOFILE
2009-10-04 14:26:18 +02:00
Stefan Bühler
a14a709237
Add max-connections check, set to max-fds/4
2009-10-04 14:25:59 +02:00
Stefan Bühler
8ac057d3d5
angel: Add wrapper, env and copy-env to instance config
2009-10-03 21:14:34 +02:00
Stefan Bühler
367404fdb1
Add "request.is_handled" condition
2009-10-03 16:47:57 +02:00
Stefan Bühler
476698f118
luaApi: move global method/constants into lighty. namespace, add vr:stat(filename)
2009-10-03 15:26:35 +02:00
Stefan Bühler
3949cb0939
Show fastcgi socket in backend log, don't show source file/line for backend logs
2009-10-03 15:26:03 +02:00
Stefan Bühler
987b28520d
mod_deflate: add 304 not modified handling, handle HEAD requests
2009-09-29 11:46:40 +02:00
Stefan Bühler
471a521f48
Improve filter handling (handle reverse out stream closing)
2009-09-29 11:45:55 +02:00
Stefan Bühler
d2ba4ca0dd
Fix LI_COND_LVALUE_END value
2009-09-28 21:47:44 +02:00
Stefan Bühler
4b94e01ecc
Add response.header/status conditionals
2009-09-28 21:30:06 +02:00
Stefan Bühler
241d0e48de
mod_deflate: Add Vary header, reset content-length header
2009-09-28 20:56:28 +02:00
Stefan Bühler
1acacd5737
Prefix inline api functions with li_
2009-09-26 20:31:52 +02:00
Stefan Bühler
b9f92f704e
Fix server.tag and version output, part 2
2009-09-16 00:21:01 +02:00
Stefan Bühler
bf9e34bab7
Remove li_vrequest_stat and fix condition.c
2009-09-15 19:08:13 +02:00
Stefan Bühler
f31572bef1
Append slash to doc-root for physical path if it is missing
2009-09-14 21:45:52 +02:00
Stefan Bühler
39a879f89a
Add "include_lua" to config special commands if compiled with lua
2009-09-14 18:58:42 +02:00
Stefan Bühler
659ebfdd16
Add core lua support to handle requests
2009-09-13 17:54:16 +02:00
Stefan Bühler
897b27c692
Some core docs fixed
2009-09-13 17:46:02 +02:00
Stefan Bühler
77f2a832e7
Fix liRequestUri struct
2009-09-13 17:45:41 +02:00
Stefan Bühler
f030824550
Fix server address (do not use the listen address)
2009-09-09 18:12:05 +02:00
Stefan Bühler
a663088a77
Add custom server socket callbacks (for ssl modules)
2009-09-08 19:09:39 +02:00
Stefan Bühler
c77ba3eb20
Cleanup connection code
2009-09-08 19:09:08 +02:00
Stefan Bühler
007e5e040c
Add listen mask checks to angel
2009-09-04 15:56:52 +02:00
Stefan Bühler
56ff7ca32a
angel/lighty now synchronize the server state
2009-08-30 20:43:13 +02:00
Stefan Bühler
eeddb37e4a
Add plugin angel callbacks
2009-08-30 19:25:01 +02:00