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 |
Thomas Porzelt
|
5c564c7c0a
|
added srv->started_str, small fix in server_free()
|
15 years ago |
Thomas Porzelt
|
59fdb03ee0
|
implement loading of modules
|
15 years ago |
Thomas Porzelt
|
472e7a81a9
|
changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser
|
15 years ago |
Thomas Porzelt
|
604042b24c
|
fixed segfault in server_free() if workers are not allocated yet; removed virtualrequest.h include from base.h
|
15 years ago |
Thomas Porzelt
|
5150637e13
|
implemented port feature for listen setup; small memleak und config parser fixes
|
15 years ago |
Stefan Bühler
|
d6b28e47aa
|
Fix segfault if config parser failed
|
15 years ago |
Thomas Porzelt
|
30bae997eb
|
moved log cleanups to own function; fixed memleaks in config parser and plugin_core
|
15 years ago |
Stefan Bühler
|
c54a085552
|
Implement clean default values for options
|
15 years ago |
Stefan Bühler
|
091f122aad
|
Renamed option -> value, some other minor/related renames; added option_value as
datatype for the value of options (union for ptr/gin64)
|
15 years ago |
Stefan Bühler
|
a88ca5238c
|
Add the "collect" framework, which collects results from a function executed in each worker context
|
15 years ago |
Thomas Porzelt
|
292d013134
|
reworked logging functions; added 'log' and 'log.timestamp' options, removed 'log.level' and 'log.target' options
|
15 years ago |
Stefan Bühler
|
721cb88985
|
Kill some memleaks
|
15 years ago |
Stefan Bühler
|
00143835d4
|
Move the connection tables into the workers, so no locking needed for them.
|
15 years ago |
Stefan Bühler
|
14cb73e80b
|
Set cpu affinity
|
15 years ago |
Stefan Bühler
|
45849a4864
|
Add error reporting if ev_loop creation fails.
|
15 years ago |
Stefan Bühler
|
c62f8f7945
|
Add more atomic protection
|
15 years ago |
Stefan Bühler
|
58351b5ff0
|
Clean libev loops
|
15 years ago |
Stefan Bühler
|
0a4230cced
|
Added basic notify + locking for workers
|
15 years ago |
Stefan Bühler
|
798085f860
|
Fix some segfaults and add cleanup for worker split
|
15 years ago |
Stefan Bühler
|
0fe9176d6f
|
Splitted worker from server; removed "server *srv" from most function which also have "connection *con"
|
15 years ago |
Stefan Bühler
|
ecd1082378
|
Remove "my_ev_init" as we now have -fno-strict-aliasing; workaround was stupid anyway. Move static ev_signal vars into server struct.
|
15 years ago |
Thomas Porzelt
|
8649ce6cfe
|
changed option default value assignment to callbacks
|
15 years ago |
Stefan Bühler
|
577928e8eb
|
Fix double con_put in server_free
|
15 years ago |
Stefan Bühler
|
475300d1aa
|
Fix keep-alive again (missing cleanup)
|
15 years ago |
Stefan Bühler
|
491b7880cb
|
Fix keep-alive idle.
|
15 years ago |
Stefan Bühler
|
486f64bd7d
|
Added keep-alive and dead state for connection, added timeout for keep-alive.
With "server.max-keep-alive-idle" = 5 (default) you get O(1), other values need O(log n)
|
15 years ago |
Thomas Porzelt
|
6804b1df00
|
implemented default values for options
|
15 years ago |
Thomas Porzelt
|
c5fb96870c
|
added event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c
|
15 years ago |
Thomas Porzelt
|
4d55315487
|
added first counters
|
15 years ago |
Thomas Porzelt
|
bb44fceb64
|
fixed invalid free in server.c
|
15 years ago |
Thomas Porzelt
|
34b9edaa02
|
fixed invalid free in server.c
|
15 years ago |
Stefan Bühler
|
1bc8c85266
|
* replace strerror with g_strerror, kill errno from logging
* starting chunked encoding filter
* network write cleanup + sendfile backend (default for now)
|
15 years ago |
Stefan Bühler
|
066d0f5342
|
Added plugin callbacks for content and close handling
|
15 years ago |
Stefan Bühler
|
b8e3535546
|
Enabled options, moved some initializing
|
15 years ago |
Stefan Bühler
|
8de2c27ec6
|
Fix some bugs/warnings.
|
15 years ago |
Stefan Bühler
|
2546ce9259
|
Use ev_now for current timestamp, clean usage of shutdown (wait for eof before close)
|
15 years ago |
Stefan Bühler
|
03458817cc
|
Updated TODO hints
|
15 years ago |
Stefan Bühler
|
76dcab54fc
|
Capture SIGINT, SIGTERM and SIGPIPE.
|
15 years ago |
Stefan Bühler
|
e216fc5168
|
handle requests now :) - still many TODOs for error handling/keep alive/validating headers
|
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
|
c2e6044315
|
con_get() now increases array size in steps of 10
|
15 years ago |
Stefan Bühler
|
0a514f657e
|
server/connection/request functions
|
15 years ago |
Thomas Porzelt
|
c190daa908
|
merged from lp and enhanced config parser
|
15 years ago |
Thomas Porzelt
|
5e700e79e1
|
small config parser and log changes
|
15 years ago |
Thomas Porzelt
|
a9cbec1046
|
config parser rewritten
|
15 years ago |
Thomas Porzelt
|
191343333e
|
merge from lp
|
15 years ago |
Thomas Porzelt
|
aca2f46bf6
|
config parser changes
|
15 years ago |