2
0
Fork 0
Commit Graph

1298 Commits

Author SHA1 Message Date
Stefan Bühler c1851a6cea [lua] force garbage collection 2013-05-03 18:59:06 +02:00
Stefan Bühler f2ade38923 Release mainaction before stopping workers 2013-05-03 18:57:58 +02:00
Stefan Bühler 224f623494 [tests] new features for running tests: log to console, kill services again after timeout 2013-05-03 18:57:58 +02:00
Stefan Bühler 20e0eb88b6 [tests] add scgi tests 2013-05-01 17:33:55 +02:00
Stefan Bühler ff7b73c8a9 [collect] Allow to start collect without worker context 2013-04-10 20:48:16 +02:00
Stefan Bühler 0dd67d972a [mod_lua] fix order of setting ts_loaded and checking it 2013-04-09 16:44:50 +02:00
Stefan Bühler 0a0ef2acc8 [tests] timeout pycurl requests after 10 seconds 2013-04-09 16:29:39 +02:00
Stefan Bühler 0ac603bc13 gitignore update 2013-04-09 16:29:39 +02:00
Stefan Bühler e2d7bb30ec [mod_lua] fix docs 2013-01-25 10:02:08 +01:00
Stefan Bühler ff527c560c [mod_lua] fix ttl handling for lua.handler 2013-01-25 10:02:08 +01:00
Stefan Bühler 9cb0790052 [core_lua] Forward worker pointer to log functions in some lua functions
This fixes 2 things:
 * won't need global server lock for logging in worker context
 * order of log entries; worker context log gets committed to
   global list in the event loop
2013-01-25 09:57:54 +01:00
Stefan Bühler 01abf704a3 [lua] Use recursive lock for global lua lock 2012-12-06 15:43:11 +01:00
Stefan Bühler 178e7c898f [profiler] use g_static_mutex to trigger mutext memory allocation before registering profiler alloc handlers 2012-12-06 15:34:51 +01:00
Stefan Bühler af3e0728fa [mod_deflate] Parse x-gzip/x-bzip2 explicitly and send it back as it was requested (instead of gzip/bzip2) 2012-10-14 17:33:02 +02:00
Stefan Bühler 2634c77aae Fix use of deprecated g_strcasecmp 2012-06-16 13:08:57 +02:00
Stefan Bühler b310884f4d [log] Remove (broken) locking for g_printerr in li_log_write_stderr - fputs, the default backend, is thread safe 2012-06-16 13:07:14 +02:00
Stefan Bühler 1951de6e40 [mod_acceslog] fix escaping of " 2012-06-16 12:57:27 +02:00
Stefan Bühler d705276183 [plugin_core] Fix closing data stream for invalid ranges in static handling 2012-04-05 14:55:14 +02:00
Stefan Bühler 5d48ae7102 [log] Add changable log contexts (i.e. references to the real one), so a pointer to such context can be used over a longer period of time 2012-03-17 15:52:19 +01:00
Stefan Bühler a0227182d6 Fix small memleak with server sockets 2012-03-17 15:38:44 +01:00
Stefan Bühler 97bc95a107 [configparser] allow normal actions and setups with the same name 2012-03-17 12:42:55 +01:00
Stefan Bühler b1c45e6a8f [chunk/network] use glib error system to report errors (instead of using virtualrequest context) 2012-03-16 15:44:22 +01:00
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 2012-03-16 13:25:52 +01:00
Stefan Bühler 8d709f8574 [ipv6 parser] Fix type-punned memory access 2012-03-13 00:19:56 +01:00
Stefan Bühler c270124514 [mod_gnutls] remove \n from log messages 2012-01-22 13:26:29 +01:00
Stefan Bühler 3972451633 [ip-parser] fix ipv4 netmask for /0, added some unit tests 2012-01-18 10:35:35 +01:00
Stefan Bühler 34ad0a52e4 [gnutls] fix automake 2012-01-17 22:47:53 +01:00
Stefan Bühler bef05e0b2e new module: mod_gnutls 2012-01-17 21:30:13 +01:00
Stefan Bühler d173c7d305 [response] fix totally broken response headers if connection header is sent 2012-01-10 08:48:38 +01:00
Stefan Bühler 4c04989bd1 fix compile bugs in previous commits 2012-01-10 01:27:10 +01:00
Stefan Bühler 6ca28bab2b [response handling] fix missing connection header 2012-01-10 01:22:59 +01:00
Stefan Bühler 011aaccabd [http response/request parser] parse method with extra function, fix quoted text, restrict quoted pair 2011-12-19 20:39:50 +01:00
Stefan Bühler 9bf335c121 [jobqueue] add li_job_stop 2011-12-19 16:42:18 +01:00
Stefan Bühler f7730910ad [utils] handle NULL loop in li_ev_io_* event changing 2011-12-19 16:41:31 +01:00
Stefan Bühler 89a32e1504 [chunkqueue] skip setting limit if it is the current one 2011-12-19 16:39:54 +01:00
Stefan Bühler eaf460e3d0 [plugin_core] fix docroot pattern error handling (fixes #2362) 2011-12-18 14:59:28 +01:00
Thomas Porzelt 8a4565a63a [mod_flv] don't retry close(fd) on EINTR
Sources:
- http://www.daemonology.net/blog/2011-12-17-POSIX-close-is-broken.html
- http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html
- http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3202.html

However this might not be true for all systems, more investigation needed.
2011-12-17 10:57:56 +01:00
Stefan Bühler b15ec2ecf4 [cmake] fix linker errors with --as-needed (fixes #2360) 2011-12-16 21:01:55 +01:00
Stefan Bühler f98f9bb7b3 [openssl] fix error message for wrong listen option 2011-12-16 20:57:26 +01:00
Stefan Bühler dd4ed2c560 [mod_openssl] fix build error if SSL_OP_NO_COMPRESSION isn't defined 2011-12-02 13:43:54 +01:00
Stefan Bühler 7a9ae91566 [mod_openssl] close connection on client initiated renegotiation 2011-12-02 13:38:22 +01:00
Joe Presbrey 85b620eb3c [mod_openssl] add options and defaults
Co-authored-by: Stefan Bühler <stbuehler@web.de>
2011-12-02 12:15:28 +01:00
Joe Presbrey 92bfc4c676 [mod_openssl] add openssl.setenv action (client, client-cert, server, server-cert) 2011-11-30 12:53:06 -05:00
Joe Presbrey 3f9ba6ebdc [mod_openssl] add verify{,-any,-depth,-require}, client-ca-file 2011-11-30 01:26:04 +01:00
Stefan Bühler 9e215e397f [value] add some functions to handle liValue 2011-11-30 01:00:20 +01:00
Thomas Porzelt 3f12becf59 [plugin_core] add 'map' action, which maps the result of a pattern to a user defined action 2011-11-26 16:32:51 +01:00
Thomas Porzelt 3af94cf12d [mod_progress] free data on module unload properly 2011-11-26 16:17:31 +01:00
Thomas Porzelt 2d52ff9170 [mempool] support profiler for mmap allocations. use g_malloc/free instead malloc/free 2011-11-26 16:07:38 +01:00
Thomas Porzelt aeb88422a0 [profiler] export li_profiler_enabled and li_profiler_hashtable_insert/remove. add heap base/break/size to dump output 2011-11-26 15:56:45 +01:00
Thomas Porzelt a66b6ce8d5 [config parser] rename 'o' liValue variables to 'v'. the name was a relict from option variables 2011-11-26 15:20:40 +01:00