2
0
Fork 0
Commit Graph

1275 Commits

Author SHA1 Message Date
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
Thomas Porzelt 9f17fd620d [config parser] add 'none' and 'default' keywords 2011-11-26 15:11:39 +01:00
Stefan Bühler a7741a2f22 [core] Ignore connection headers from backends 2011-11-21 11:07:40 +01:00
Thomas Porzelt fc3d0e51e9 [core] fix invalid html in auto-generated responses 2011-11-19 11:32:20 +01:00
Stefan Bühler 3277edabe6 connection.c: optimize buffer usage - don't keep too many unused buffers around 2011-11-18 19:04:42 +01:00
Stefan Bühler ba3d50ba79 [mempool]: use g_free instead of free in ALLOC mode 2011-11-17 21:26:53 +01:00
Stefan Bühler bd5c2f4ebe move profiler code to common lib 2011-11-17 21:25:45 +01:00
Thomas Porzelt bd15bb8f82 [core] fix for previous commit. gc requency was set to 10s not 5min 2011-11-17 19:18:17 +01:00
Thomas Porzelt ab313d20c2 [core] change connection garbage collector algorithm to free all unused connections up to the maximum of active connections during the last 5 minutes 2011-11-17 18:59:09 +01:00
Thomas Porzelt 011380dcb7 [core] change memory profiler output, add minsize parameter to debug.profiler_dump action 2011-11-15 02:01:35 +01:00
Joe Presbrey 60fc8d421d [mod_status] add status_info_auto 2011-11-11 12:31:44 -05:00
Thomas Porzelt cdf183137f [plugin_core] rename 'blank' action to 'respond' and allow optional integer, string or list of integer+string parameters which support patterns 2011-10-17 20:09:48 +02:00
Stefan Bühler 2647a9745c [autobuild]: enable large file support for 32-bit builds 2011-10-11 13:18:43 +02:00
Thomas Porzelt b6e20b45f9 [doc] update config examples re latest config syntax changes 2011-08-28 16:51:21 +02:00
Thomas Porzelt cc1c9a92e2 [config parser] don't allow setup blocks or includes in setup blocks 2011-08-28 15:07:23 +02:00
Stefan Bühler dbfca1b2cb [doc]: fix config examples 2011-08-28 14:18:03 +02:00
Thomas Porzelt 2ebf367df5 [config parser] fix detection of conflicts between options and uservars 2011-08-28 14:17:47 +02:00
Stefan Bühler 3ef949bbb9 [tests]: convert test cases to new config syntax 2011-08-28 11:57:31 +02:00
Thomas Porzelt 04c8356b44 [config parser] change syntax again: user defined variables are now defined as 'x = ...;'. user defined actions are not special anymore 2011-08-28 11:30:35 +02:00
Stefan Bühler abd58794d8 [config parser]: fix crash with nested conditional blocks, fix some warnings 2011-08-25 19:57:08 +02:00
Stefan Bühler d579b8a163 [core]: accept LF instead of CR LF in http requests 2011-08-22 17:30:29 +02:00
Thomas Porzelt 9f832c75ea Config syntax changes and parser fixes:
* Change ":" to "=>" in hash tables
* Change assignments to not need "=" anymore
* User defined actions must now be prefixed with the "action" keyword
* Anonymous user defined actions don't need the "$" prefix anymore
* Fix parsing of conditionals with more than 2 conditions
2011-08-20 11:43:02 +02:00
Stefan Bühler bafba4b112 [core.cached_html] fix path handling 2011-08-13 21:28:01 +02:00
Stefan Bühler 92ca097ed4 [jobqueue] as jobs in the queue could be removed in a callback we can\'t copy the queue to a private one, g_queue_unlink needs the real one 2011-08-09 20:17:13 +02:00