Thomas Porzelt
|
3964ce82b7
|
merged from lp
|
15 years ago |
Stefan Bühler
|
1ed36c93b9
|
Handle write errors (fixes ab keep-alive problems)
|
15 years ago |
Stefan Bühler
|
76dcab54fc
|
Capture SIGINT, SIGTERM and SIGPIPE.
|
15 years ago |
Stefan Bühler
|
3b4e8f6f8d
|
Add some request header checks.
|
15 years ago |
Stefan Bühler
|
52c5b05713
|
Added some http header helpers
|
15 years ago |
Stefan Bühler
|
3041e2429d
|
Fix writing (unititialized var)
|
15 years ago |
Stefan Bühler
|
9760d73a24
|
Fix chunks to not accept empty chunks (and to remove them in cq_skip)
|
15 years ago |
Stefan Bühler
|
e216fc5168
|
handle requests now :) - still many TODOs for error handling/keep alive/validating headers
|
15 years ago |
Thomas Porzelt
|
7dc2d5f337
|
merged from lp
|
15 years ago |
Stefan Bühler
|
e6463f776b
|
Enable static build.
|
15 years ago |
Thomas Porzelt
|
09481f470f
|
changed log_ref to use mutex instead of atomic operations because those could still lead to race conditions
|
15 years ago |
Stefan Bühler
|
2fbc7b1408
|
Basic connection state machine
|
15 years ago |
Thomas Porzelt
|
24d1f61c87
|
reverted changes from r70 in server.c; enhanced config parser
|
15 years ago |
Thomas Porzelt
|
708b5fc223
|
small fixes; call_setup() now looks in the right hashtable
|
15 years ago |
Thomas Porzelt
|
c2e6044315
|
con_get() now increases array size in steps of 10
|
15 years ago |
Thomas Porzelt
|
1844a53dd3
|
merged from lp
|
15 years ago |
Thomas Porzelt
|
a603d799f6
|
config parser changes; removed srv->mutex
|
15 years ago |
Stefan Bühler
|
0a514f657e
|
server/connection/request functions
|
15 years ago |
Stefan Bühler
|
0ab75876dc
|
Merge
|
15 years ago |
Stefan Bühler
|
d1c1a1b06f
|
Continue request parser
|
15 years ago |
Thomas Porzelt
|
4ae1c04b55
|
merged from lp
|
15 years ago |
Thomas Porzelt
|
c190daa908
|
merged from lp and enhanced config parser
|
15 years ago |
Stefan Bühler
|
d45b540603
|
Rename action_setting stuff
|
15 years ago |
Thomas Porzelt
|
5e700e79e1
|
small config parser and log changes
|
15 years ago |
Stefan Bühler
|
f86bf3631d
|
Remove action_list struct
|
15 years ago |
Thomas Porzelt
|
a9cbec1046
|
config parser rewritten
|
15 years ago |
Thomas Porzelt
|
b3767c0190
|
merged from lp
|
15 years ago |
Thomas Porzelt
|
28f733a2c5
|
small config parser changes
|
15 years ago |
Stefan Bühler
|
ff9b6c4461
|
Implement ip matching for conditions.
|
15 years ago |
Thomas Porzelt
|
550b4e4858
|
merge from lp
|
15 years ago |
Thomas Porzelt
|
4425a0dcd1
|
merge from lp
|
15 years ago |
Stefan Bühler
|
fcf8e455ab
|
Optional lua frontend.
|
15 years ago |
Thomas Porzelt
|
8b84f0fa6c
|
merge from lp
|
15 years ago |
Stefan Bühler
|
aff9544b95
|
Parsers for ipv4/ipv6 für conditions
|
15 years ago |
Thomas Porzelt
|
1d624ff022
|
merge from lp
|
15 years ago |
Thomas Porzelt
|
1e9694e4f8
|
merge from lp
|
15 years ago |
Stefan Bühler
|
c342be6424
|
New condition structure, some code for lua condition support
|
15 years ago |
Stefan Bühler
|
0ec2404647
|
Fix typo in index.
|
15 years ago |
Thomas Porzelt
|
5d2f95cce3
|
merged from lp
|
15 years ago |
Stefan Bühler
|
2f7359b14c
|
changed some apis, implemented some todos, added support for lua actions/conditions.
|
15 years ago |
Stefan Bühler
|
2537bb9d82
|
Add call_setup function
|
15 years ago |
Thomas Porzelt
|
191343333e
|
merge from lp
|
15 years ago |
Stefan Bühler
|
6bbfe1e43e
|
Added actions and setups to plugin_core.c
|
15 years ago |
Thomas Porzelt
|
aca2f46bf6
|
config parser changes
|
15 years ago |
Stefan Bühler
|
6ee405f3cb
|
Added a "proof of concept" core plugin.
|
15 years ago |
Stefan Bühler
|
57701f997d
|
Added "actions" and "setups" to the plugin api
|
15 years ago |
Stefan Bühler
|
54ac4151cf
|
Remove include "ev.h" (gets included in settings.h)
|
15 years ago |
Stefan Bühler
|
e44aea16ba
|
Implement plugin registration
|
15 years ago |
Thomas Porzelt
|
d10756d047
|
added ifdefs to connection.h and server.h; documented mutexes
|
15 years ago |
Thomas Porzelt
|
9858f4ee66
|
exit on log with level LOG_LEVEL_ERROR
|
15 years ago |
Thomas Porzelt
|
5045a5ee04
|
made log refcounting, srv->exiting and srv->rotate_logs atomic operations; moved server and connection structs from base.h into server.h and connection.h respectively
|
15 years ago |
Thomas Porzelt
|
e80f384fac
|
splitted log_thread_start() out of log_init() do enable delay of actual writing
|
15 years ago |
Thomas Porzelt
|
a37ec08db5
|
logging changes
|
15 years ago |
Thomas Porzelt
|
f5fdc41644
|
changed logging to use references
|
15 years ago |
Thomas Porzelt
|
9ed64ee1fc
|
merged from rev 48
|
15 years ago |
Thomas Porzelt
|
6c7d8a1165
|
log fixes
|
15 years ago |
Stefan Bühler
|
50bb61a041
|
Require srv for log macros, undo gint64 change for options (as it needs to fit into a pointer, and many other warnings)
|
15 years ago |
Stefan Bühler
|
b871c6cafa
|
Fix previous commit
|
15 years ago |
Stefan Bühler
|
8c8b77bac2
|
redo action_new_setting
|
15 years ago |
Thomas Porzelt
|
49dfcddc2a
|
added convenience makros for logging
|
15 years ago |
Thomas Porzelt
|
a662b01aca
|
removed now unneeded mutex in log_t
|
15 years ago |
Thomas Porzelt
|
4880a44903
|
introduced log levels
|
15 years ago |
Thomas Porzelt
|
88f6a30274
|
introduced a logging thread
|
15 years ago |
Thomas Porzelt
|
b2697e7cb8
|
log_write_() improved
|
15 years ago |
Thomas Porzelt
|
acf42d82b4
|
added mutexes for server und connection structs; log_write_() proposal added
|
15 years ago |
Thomas Porzelt
|
6b8bbdabde
|
no more globals in lighttpd.c
|
15 years ago |
Thomas Porzelt
|
ded5777ea2
|
no more global var in config parser
|
15 years ago |
Thomas Porzelt
|
aa297fe7b2
|
added build date info to wscript and -v option
|
15 years ago |
Thomas Porzelt
|
607e1897ef
|
added command line argument parser
|
15 years ago |
Thomas Porzelt
|
5cee4c1fa4
|
added lighttpd.c, modified action und option stuff
|
15 years ago |
Thomas Porzelt
|
5cc704884a
|
comp_operator_t for config parser too
|
15 years ago |
Thomas Porzelt
|
8468ced4dd
|
merged from lp
|
15 years ago |
Thomas Porzelt
|
781dfd07cf
|
config_cond_t renamed to comp_operator_t
|
15 years ago |
Stefan Bühler
|
b33450ff28
|
Separate module from plugin, add version to server struct.
|
15 years ago |
Stefan Bühler
|
906cca0551
|
Include libev in settings.h
|
15 years ago |
Stefan Bühler
|
a6c4a50319
|
Add libev and fix wscripts
|
15 years ago |
Stefan Bühler
|
33dd2691c1
|
Upgrade to new waf, run ragel in './waf dist' and make ragel optional if the needed files are already generated.
|
15 years ago |
Stefan Bühler
|
6a477c5f7f
|
Fix macro redefine
|
15 years ago |
Stefan Bühler
|
468b5afc15
|
Fix cyclic header dependency problem
|
15 years ago |
Thomas Porzelt
|
5c472203d7
|
removed some option functions
|
15 years ago |
Thomas Porzelt
|
4488ebaca6
|
options stuff
|
15 years ago |
Thomas Porzelt
|
16f2068fad
|
options stuff
|
15 years ago |
Stefan Bühler
|
569b139bd7
|
only one setting per action
|
15 years ago |
Stefan Bühler
|
fccd44f2ad
|
option/action/plugin
|
15 years ago |
Thomas Porzelt
|
b74a2ba5d3
|
missing brace...
|
15 years ago |
Thomas Porzelt
|
04dea42892
|
free functions for list and hash in option_free()
|
15 years ago |
Thomas Porzelt
|
0250cbc1df
|
path and header fix for tests.c
|
15 years ago |
Thomas Porzelt
|
41a14f5b44
|
path and header fix for tests.c
|
15 years ago |
Thomas Porzelt
|
7e0d56de9c
|
action_list_new() small fix
|
15 years ago |
Thomas Porzelt
|
cfcdc075d7
|
config parser merge
|
15 years ago |
Thomas Porzelt
|
a449c4e842
|
action_list_new() added
|
15 years ago |
Thomas Porzelt
|
8eb6670388
|
config parser
|
15 years ago |
Stefan Bühler
|
cbf88bb3ee
|
Fix request and parser, added simple request test.
|
15 years ago |
Stefan Bühler
|
a1414bce60
|
Fix chunkiter_read (do not require open file for mem chunk)
|
15 years ago |
Stefan Bühler
|
18413d698a
|
Renamed chunk sources, added request parser, header management, test file.
|
15 years ago |
Stefan Bühler
|
503e8d7859
|
Basic ragel suport
|
15 years ago |
Thomas Porzelt
|
3c05dca97a
|
unindent switches
|
15 years ago |
Thomas Porzelt
|
e8fd628b00
|
switch defaults removed
|
15 years ago |
Thomas Porzelt
|
b9c8c08e98
|
condition changes
|
15 years ago |
Stefan Bühler
|
c612995cfe
|
Request/condition
|
15 years ago |
Stefan Bühler
|
777232ab5d
|
Condition
|
15 years ago |
Thomas Porzelt
|
75c751ce6e
|
actions stuff
|
15 years ago |
Thomas Porzelt
|
b080f7a2b4
|
actions stuff
|
15 years ago |
Thomas Porzelt
|
6822fc7d24
|
actions.h fix
|
15 years ago |
Thomas Porzelt
|
586ac096f4
|
addition to actions.h
|
15 years ago |
Thomas Porzelt
|
5c8def1f2c
|
actions.h added
|
15 years ago |
Thomas Porzelt
|
67ee0333ab
|
test commit
|
15 years ago |
Stefan Bühler
|
031b7bf7df
|
2nd commit ;-)
|
15 years ago |
Stefan Bühler
|
9372e41393
|
Initial commit
|
15 years ago |