Thomas Porzelt
|
0994052566
|
fix wrong placement of #endif in condition.c => broken code when HAVE_IPV6 not defined
|
15 years ago |
Stefan Bühler
|
2040c059d1
|
Fix connection/network_write state machine
|
15 years ago |
Stefan Bühler
|
7a496b610b
|
Fix comment style // -> /* */
|
15 years ago |
Thomas Porzelt
|
6dbaaf5430
|
fix warnings about shadowed declarations of 'free' and 'value' in headers
|
15 years ago |
Thomas Porzelt
|
4080ddcd16
|
cosmetic changes of 'defined x to defined(x)' in settings.h to unify usage
|
15 years ago |
Thomas Porzelt
|
75ce595e5b
|
add LIGHT_OS_XYZ macros
|
15 years ago |
Thomas Porzelt
|
1954f46a03
|
return NETWORK_STATUS_WAIT_FOR_AIO_EVENT instead of NETWORK_STATUS_WAIT_FOR_EVENT when throttling
|
15 years ago |
Stefan Bühler
|
06225998c6
|
Fix typos in sendfile (again)
|
15 years ago |
Stefan Bühler
|
ec16ebea3c
|
Fix typos in sendfile
|
15 years ago |
Stefan Bühler
|
99733ef5a7
|
Add OS X sendfile implementation (and fix the freebsd one)
|
15 years ago |
Thomas Porzelt
|
84b7487cc4
|
add USE_OSX_SENDFILE macro
|
15 years ago |
Stefan Bühler
|
94b4dcc764
|
Generic sendfile implementation (supports linux,solaris and freebsd now)
|
15 years ago |
Stefan Bühler
|
91d4868ef4
|
Move stats and throttle to network.c
|
15 years ago |
Stefan Bühler
|
fae25515fa
|
Split waitqueue from utils
|
15 years ago |
Stefan Bühler
|
463d1c6435
|
Fix modules and waf for new include dir
|
15 years ago |
Stefan Bühler
|
6c573e5e00
|
Check for POSIX_FADV_SEQUENTIAL before using it
|
15 years ago |
Stefan Bühler
|
3dceeb5916
|
Move include files into a separate directory and cleanup include order
|
15 years ago |
Thomas Porzelt
|
358b9f95f1
|
implement throttling, change some time_t to ev_tstamp
|
15 years ago |
Thomas Porzelt
|
e9f8b51452
|
add LOG_TYPE_NONE that doesn't log anything
|
15 years ago |
Thomas Porzelt
|
a2a0818cb4
|
remove cast to time_t in CUR_TS() makro. it caused some deviation
|
15 years ago |
Thomas Porzelt
|
d56e5c2ea9
|
implement waitqueues (utils), change connection io timeouts to use those
|
15 years ago |
Thomas Porzelt
|
8161336538
|
add fallback static action if built-in cfg parser used
|
15 years ago |
Thomas Porzelt
|
b491e91c68
|
add io timeouts
|
15 years ago |
Thomas Porzelt
|
abb7bc1067
|
fix segfault when no host header in request
|
15 years ago |
Thomas Porzelt
|
64e823f83a
|
use g_mutex instead of g_static_mutex in profiler.c
|
15 years ago |
Thomas Porzelt
|
bfad826aa5
|
fix small memleak in worker_add_closing_socket()
|
15 years ago |
Thomas Porzelt
|
67f89abffc
|
add mod_status
|
15 years ago |
Thomas Porzelt
|
0a63fc8058
|
add client addr string and traffic stats for connections and workers
|
15 years ago |
Thomas Porzelt
|
2538f522ec
|
add sockaddr_to_string() and counter_format2() to utils.c
|
15 years ago |
Thomas Porzelt
|
245cecb1e2
|
add srv->started (timestamp) and srv->started_str (formatted ts)
|
15 years ago |
Thomas Porzelt
|
1d133a52ed
|
add missing free if -m option specified
|
15 years ago |
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.
|
15 years ago |
Thomas Porzelt
|
bdce397e70
|
get rid of global vars in mod_fortune
|
15 years ago |
Thomas Porzelt
|
84fb6a5574
|
add missing call to p->free() in plugin_free
|
15 years ago |
Stefan Bühler
|
7954e0f8d3
|
Modify vrequest_error
|
15 years ago |
Thomas Porzelt
|
9b2773750e
|
update mod_fortune for virtual request code, readd to wscript
|
15 years ago |
Thomas Porzelt
|
f4725264de
|
add virtualrequest.c to wscript, temporarily remove mod_fortune
|
15 years ago |
Stefan Bühler
|
b83e3a29ce
|
Fix vrequest merge
|
15 years ago |
Stefan Bühler
|
73fff068c3
|
Merge virtual requests
|
15 years ago |
Stefan Bühler
|
566cbdb024
|
virtual requests; they replace a big part from connection.
|
15 years ago |
Stefan Bühler
|
9430770903
|
[cmake] Add module support
|
15 years ago |
Stefan Bühler
|
4b24952c02
|
Change cmake required version to 2.6.0
|
15 years ago |
Thomas Porzelt
|
5c564c7c0a
|
added srv->started_str, small fix in server_free()
|
15 years ago |
Thomas Porzelt
|
d7bfbde1fc
|
removeleft over testing code from mod_fortune
|
15 years ago |
Thomas Porzelt
|
616180e9ac
|
add mod_fortune
|
15 years ago |
Thomas Porzelt
|
59fdb03ee0
|
implement loading of modules
|
15 years ago |
Thomas Porzelt
|
bbb3c8c69d
|
improved profiler (hashfunc and free-list)
|
15 years ago |
Thomas Porzelt
|
24777f99d7
|
tiny race fix for profiler_free(); added profiler_dump_table()
|
15 years ago |
Thomas Porzelt
|
eb73fe1651
|
changed profiler from glib to own implementation that doesn't leak all the memory...
|
15 years ago |
Thomas Porzelt
|
b5f2442d5f
|
added profile_mem action that dumps memory stats to stdout, enable with LIGHTY_PROFILE_MEM=true env var
|
15 years ago |