Thomas Porzelt
|
d7b17a7746
|
add 'docroot' option, remove 'physical' action
|
15 years ago |
Thomas Porzelt
|
29c962fe06
|
add mime_types option and mimetype_get() function
|
15 years ago |
Thomas Porzelt
|
107798b883
|
better http_status_to_str()
|
15 years ago |
Thomas Porzelt
|
34281b50f1
|
send proper error pages
|
15 years ago |
Thomas Porzelt
|
eb5aa9d9d4
|
fix and comment ip hashing functions
|
15 years ago |
Thomas Porzelt
|
21c391da66
|
ipv4 and ipv6 hashing functions
|
15 years ago |
Thomas Porzelt
|
f23b051c30
|
moved freeing of value after parsing in plugin_set_default_option(); made that function static
|
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 |
Stefan Bühler
|
36b0ae3628
|
Move request parser data into connection struct
|
15 years ago |
Stefan Bühler
|
7cd0b2aaf6
|
Revert: Add refcount to http headers
|
15 years ago |
Stefan Bühler
|
de6996268f
|
Add refcount to http headers
|
15 years ago |
Thomas Porzelt
|
5150637e13
|
implemented port feature for listen setup; small memleak und config parser fixes
|
15 years ago |
Stefan Bühler
|
e1504a252f
|
free value always from the calling function
|
15 years ago |
Stefan Bühler
|
d6b28e47aa
|
Fix segfault if config parser failed
|
15 years ago |
Thomas Porzelt
|
480de71283
|
small memleak fix
|
15 years ago |
Thomas Porzelt
|
5e1ebf3c05
|
fixed small leak (config_path parameter)
|
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
|
5d27591a49
|
Fix return TRUE in a void function
|
15 years ago |
Stefan Bühler
|
34c513c645
|
Fix waf wscript for the renamed files
|
15 years ago |
Stefan Bühler
|
c54a085552
|
Implement clean default values for options
|
15 years ago |
Stefan Bühler
|
5d0d12c0bd
|
Updated cmake ragel rules to build config parser with -T0 instead of -T1
|
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 |
Stefan Bühler
|
3c00360259
|
log requests/sec stats per worker
|
15 years ago |
Stefan Bühler
|
a17aa92250
|
Move stats into worker
|
15 years ago |
Thomas Porzelt
|
593b0d1427
|
fixed wrong comment in worker.h
|
15 years ago |
Thomas Porzelt
|
5a1acd8be9
|
reworked parts of config_parser
|
15 years ago |
Thomas Porzelt
|
9ba30eccbd
|
moved string_destroy_notify() from base.c to utils.c, fixed parameter definition
|
15 years ago |
Thomas Porzelt
|
1faaf71de4
|
added option_to_string()
|
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 |
Thomas Porzelt
|
6fe8eb603d
|
fixed missing \r\n after response headers
|
15 years ago |
Thomas Porzelt
|
a2ecebf3c3
|
changed waf build script to not use ragel optimization for config parser
|
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
|
2b9147ba50
|
Fix missing ':' after case EWOULDBLOCK
|
15 years ago |
Stefan Bühler
|
bca094fe9f
|
Add cmake support
|
15 years ago |
Stefan Bühler
|
bfd20c2662
|
Add missing includes for open/fcntl
|
15 years ago |
Stefan Bühler
|
e87e6a9a58
|
Fix indentation in wscript
|
15 years ago |
Stefan Bühler
|
ac1f66ee1d
|
Fix pcre
|
15 years ago |
Thomas Porzelt
|
623e10d7a0
|
added missing insert into hashtable for logs, removed lock from log_free_unlocked()
|
15 years ago |
Stefan Bühler
|
14cb73e80b
|
Set cpu affinity
|
15 years ago |
Stefan Bühler
|
267b0bf6fc
|
shutdown sockets immediatly if srv->exiting is true
|
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
|
dbc9859ce8
|
Use atomic refcount operations
|
15 years ago |
Stefan Bühler
|
47c0acf4c2
|
Changed header implementation from hash-table to double linked list
|
15 years ago |
Stefan Bühler
|
f5cf939d5a
|
Added "workers(x)" setup function
|
15 years ago |
Stefan Bühler
|
0a4230cced
|
Added basic notify + locking for workers
|
15 years ago |