1348 Commits (6a0e57ec8f00e917d98c7ab0e3d8ee342ca1f043)

Author SHA1 Message Date
Stefan Bühler c372d21f2c [mod_gnutls] use key-value list for parameters, allows duplicate listen/pemfile parameters 10 years ago
Stefan Bühler 969818083e [core] add li_value_to_key_value_list: convert value hash to key-value list 10 years ago
Stefan Bühler ab47f9b33c [mod_gnutls] fix endless loop in client hello parser 10 years ago
Stefan Bühler 36b901afa7 [mod_gnutls] fix build with SNI disabled 10 years ago
Stefan Bühler 40169d5fc9 [autobuild] fix renamed header ssl_client_hello_parser.h 10 years ago
Stefan Bühler a7f41b9e3b [core] check for disabled keep-alive early to send matching headers 10 years ago
Stefan Bühler 975ca1cddf [mod_gnutls] parse client hello for sni and protocol version
changing priority in gnutls post_client_hello didn't work with session
resumption
10 years ago
Stefan Bühler c51d89fe6e [mod_openssl] disable SSL3 by default 10 years ago
Stefan Bühler 0b8365ca29 [mod_openssl] enable DH and ECDH 10 years ago
Stefan Bühler b9d77f50a4 [core] add req_header.* actions 10 years ago
Stefan Bühler f3436e69f1 [gnutls] fix cleanup order (use-after-free) 10 years ago
Simon Lundström 859da7d7eb [plugin_core] docroot: show stat() errors for all entries when debug log is enabled 10 years ago
Stefan Bühler f64ba1bb72 [fastcgi] add debug prints before all fastcgi_reset calls, don't reset connection on stderr data if connection was already closed 10 years ago
Stefan Bühler 9aafe5aa2a [fetch] use signed integers for liFetchDatabase refcount 10 years ago
Stefan Bühler e762189fb5 [core] only use feature test macros on linux 10 years ago
Stefan Bühler bfa1395937 [throttle] fix connection throttling refill calculation 10 years ago
Stefan Bühler a1170b3aec [mod_gnutls] fix segfault when no sni backend was configured 10 years ago
Stefan Bühler d5bb6003dc include lighttpd/settings.h instead of base.h in common source 10 years ago
Stefan Bühler 8f42bbe7b4 [gnutls filter] fix cork handling 10 years ago
Stefan Bühler b9fadd3db3 [ssl_sni_parser] debugging, fix parser bug (wrong shift) 10 years ago
Stefan Bühler 85fc9dbb6d [mod_gnutls,fetch api] associate sni certs with dh params, fix fetch bug 10 years ago
Stefan Bühler 796f6b1547 [mod_gnutls] send alerts instead of aborting, allow safe renegotiations 10 years ago
Stefan Bühler 3d86ada352 add ssl_sni_parser.h to make dist 10 years ago
Stefan Bühler 92f0a5f237 [mod_gnutls] add sni-fallback-pemfile option 10 years ago
Stefan Bühler 8d417cec1b [mod_gnutls] fix compile error when compiling without SNI 10 years ago
Stefan Bühler 05e058aa9c fix bugs and warnings reported by clang
* fix memset sizeof() bugs
 * fix unaligned memory access
 * fix warnings for casts with alignment change
 * crypt_r needs _GNU_SOURCE
10 years ago
Stefan Bühler 392e7bb823 [mod_gnutls] add SNI 10 years ago
Stefan Bühler 95f63fc0cf [core] add global named fetch pool; all backends have to return strings. implement a simple backend. 10 years ago
Stefan Bühler 2bcb880dc8 [core] implement generic "fetch" api 10 years ago
Stefan Bühler 86c93c6256 [mod_gnutls] use 4096-bit DH params by default 10 years ago
Stefan Bühler 2cc5eb90d6 [mod_gnutls] actually use dh params loaded from file 10 years ago
Stefan Bühler 9a70d79f66 [mod_gnutls] add memory session database 10 years ago
Stefan Bühler c15deb44a4 [mod_gnutls] support DH parameters, use pregenerated 3247 bit parameter by default 10 years ago
Stefan Bühler f4280dca8b [mod_gnutls] session ticket support 10 years ago
Stefan Bühler c49cf3696f [mod_gnutls] fix beast workaround (force RC4 on TLS1.0 and SSL3.0) 10 years ago
Stefan Bühler 97dbcf7e42 [core] add option to disable buffering large request bodies on disk - forward them to backend directly instead
- right now only mod_fastcgi can handle this (it won't set the CONTENT_LENGTH env var, the backend
    has to support this too)
10 years ago
Stefan Bühler 38aad8128e [angel,tests] implement and use "one-shot" option to not restart crashed workers 10 years ago
Stefan Bühler 64cabac477 [core] fix connection timeout handling 10 years ago
Stefan Bühler 5e4a94b0c6 [core] handle Connection: Upgrade 10 years ago
Stefan Bühler 5e0a58be53 [stream-http-response] support chunk encoded responses 10 years ago
Stefan Bühler 3deb7c9e79 [core] support chunked uploads 10 years ago
Stefan Bühler 4706cc5f60 Fix filedescriptor/socket leaking 10 years ago
Stefan Bühler 00926c8049 [mod_openssl,mod_gnutls] fix missing disconnect (mem leak), free buffers (mem leak) 10 years ago
Stefan Bühler 42b49307b9 [mod_fastcgi] next try to fix use after free 10 years ago
Stefan Bühler bb018b091a [mod_fastcgi] fix use after free 10 years ago
Stefan Bühler 6e6e8792de [filter] don't run filter on stream-dest connect 10 years ago
Stefan Bühler 7f61ca9dba disable some debug messages 10 years ago
Stefan Bühler 44f56b034f [filters] fix memleak 10 years ago
Stefan Bühler 8a65b5e7aa [throttle] fix memory leak 10 years ago
Stefan Bühler 0857befb7f fix handling of new connection state 10 years ago
Stefan Bühler db36f6a78b [mod_cache_disk_etag] fix use after free 10 years ago
Stefan Bühler abdb238f21 [core] fix half cleaned connection objects 10 years ago
Stefan Bühler d90774c330 [mod_cache_disk_etag] fix segfault 10 years ago
Stefan Bühler 7c003a5505 [mod_throttle] build with automake/wscript too 10 years ago
Stefan Bühler 31e581456d [core] use TCP_FASTOPEN on listening sockets if available 10 years ago
Stefan Bühler bf6470375a flush sockets after request end by setting TCP_NODELY temporarily 10 years ago
Stefan Bühler 11b4bdd8c5 replace unneeded ev_/EV_ references 10 years ago
Stefan Bühler 75e0c442f7 [mod_gnutls] fix issues with giovec_t present before 2.12.0 10 years ago
Stefan Bühler 3194226966 [mod_gnutls] use vec_push only if version >= 2.12.0 10 years ago
Stefan Bühler 709296d796 fix bugs and warnings from compiler warnings (memset parameter order, shadow, ...) 10 years ago
Stefan Bühler 0ff0df8e12 [mod_fastcgi] show stderr messages 10 years ago
Stefan Bühler 018baa0375 [mod_fastcgi] abort request only if headers aren't sent; otherwise stream disconnect will handle it
out stream disconnects will lead to fastcgi_reset too, but the vrequest is fine in that case
10 years ago
Stefan Bühler 7a01f69b89 fix connection is_closed handling (never close raw_out, never close con->out.source->out) 10 years ago
Stefan Bühler 914f79650a fix connection handling with chunked responses 10 years ago
Stefan Bühler ff28617976 [mod_fastcgi] disable keep-alive for now 10 years ago
Stefan Bühler c61f4929cb more asserts and checks in stream_simple_socket 10 years ago
Stefan Bühler b6325775dc [backends] fix connection insertion 10 years ago
Stefan Bühler ba46b595ae [mod_fastcgi] fix broken asserts 10 years ago
Stefan Bühler d59cbf3f4e [mod_fastcgi] add some asserts 10 years ago
Stefan Bühler 5c2cc7143d fix filters (deflate, memcached, cache_disk_etag) 10 years ago
Stefan Bühler f33a7fd3fa [lua] check values for NULL before pushing to stack 10 years ago
Stefan Bühler 3aa78c1002 wait for request body in dynamic backends, cache them on disk 10 years ago
Stefan Bühler c40b1da839 [subrequests lua] fix compile warnings. still not working, needs to be ported to stream api. 10 years ago
Stefan Bühler f1f1aacdfe fix glib deprecation warnings 10 years ago
Stefan Bühler a937bd437a fix missing li prefixes 10 years ago
Stefan Bühler 72ec9a432f [throttle] rewrite 10 years ago
Stefan Bühler e0d9c0d602 [core] register server prepare callbacks 10 years ago
Stefan Bühler b028ad841f [mod_gnutls] stream 10 years ago
Stefan Bühler d0d3c851a5 [openssl] use BIO wrappers for streams 10 years ago
Stefan Bühler d9952f8e14 [mod_proxy] use backends 10 years ago
Stefan Bühler cfd8955008 [common] implement libev wrapper
* need a way to mark a watcher as "don't keep the loop alive"
10 years ago
Stefan Bühler 079c365f39 [mod_scgi] use backends 10 years ago
Stefan Bühler b74ec36c1e [mod_fastcgi]: use backends 10 years ago
Stefan Bühler ff69160c34 [core] Use streams 10 years ago
Stefan Bühler b41cc2898a generic backends 10 years ago
Stefan Bühler c450fa82a5 [core] implement streams on chunkqueues 10 years ago
Stefan Bühler ebd5a4ecb3 Fix comment style (//) and add gnutls to automake distcheck 10 years ago
Stefan Bühler 6a33c93231 Revert "[core] implement streams on chunkqueues"
- accidental push, patch not finished yet

This reverts commit 74ce55c860.
10 years ago
Stefan Bühler 74ce55c860 [core] implement streams on chunkqueues 10 years ago
Stefan Bühler 20a63070e2 [chunks] extract to plain memory 10 years ago
Stefan Bühler 092a1b0141 fix bugs found with clang-3.3 -fsanitize=address,undefined 10 years ago
Stefan Bühler 4793e43461 [mod_gnutls] fix ca-file handling 10 years ago
Stefan Bühler 186309f529 [lua] add missing file 10 years ago
Stefan Bühler 0d85a068c8 [lua] add per lua_State lock 10 years ago
Stefan Bühler c1851a6cea [lua] force garbage collection 10 years ago
Stefan Bühler f2ade38923 Release mainaction before stopping workers 10 years ago
Stefan Bühler ff7b73c8a9 [collect] Allow to start collect without worker context 10 years ago
Stefan Bühler 0dd67d972a [mod_lua] fix order of setting ts_loaded and checking it 10 years ago
Stefan Bühler e2d7bb30ec [mod_lua] fix docs 10 years ago
Stefan Bühler ff527c560c [mod_lua] fix ttl handling for lua.handler 10 years ago
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
10 years ago
Stefan Bühler 01abf704a3 [lua] Use recursive lock for global lua lock 10 years ago
Stefan Bühler 178e7c898f [profiler] use g_static_mutex to trigger mutext memory allocation before registering profiler alloc handlers 10 years ago
Stefan Bühler af3e0728fa [mod_deflate] Parse x-gzip/x-bzip2 explicitly and send it back as it was requested (instead of gzip/bzip2) 11 years ago
Stefan Bühler 2634c77aae Fix use of deprecated g_strcasecmp 11 years ago
Stefan Bühler b310884f4d [log] Remove (broken) locking for g_printerr in li_log_write_stderr - fputs, the default backend, is thread safe 11 years ago
Stefan Bühler 1951de6e40 [mod_acceslog] fix escaping of " 11 years ago
Stefan Bühler d705276183 [plugin_core] Fix closing data stream for invalid ranges in static handling 11 years ago
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 11 years ago
Stefan Bühler a0227182d6 Fix small memleak with server sockets 11 years ago
Stefan Bühler 97bc95a107 [configparser] allow normal actions and setups with the same name 11 years ago
Stefan Bühler b1c45e6a8f [chunk/network] use glib error system to report errors (instead of using virtualrequest context) 11 years ago
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 11 years ago
Stefan Bühler 8d709f8574 [ipv6 parser] Fix type-punned memory access 11 years ago
Stefan Bühler c270124514 [mod_gnutls] remove \n from log messages 11 years ago
Stefan Bühler 3972451633 [ip-parser] fix ipv4 netmask for /0, added some unit tests 11 years ago
Stefan Bühler 34ad0a52e4 [gnutls] fix automake 11 years ago
Stefan Bühler bef05e0b2e new module: mod_gnutls 11 years ago
Stefan Bühler d173c7d305 [response] fix totally broken response headers if connection header is sent 11 years ago
Stefan Bühler 4c04989bd1 fix compile bugs in previous commits 11 years ago
Stefan Bühler 6ca28bab2b [response handling] fix missing connection header 11 years ago
Stefan Bühler 011aaccabd [http response/request parser] parse method with extra function, fix quoted text, restrict quoted pair 11 years ago
Stefan Bühler 9bf335c121 [jobqueue] add li_job_stop 11 years ago
Stefan Bühler f7730910ad [utils] handle NULL loop in li_ev_io_* event changing 11 years ago
Stefan Bühler 89a32e1504 [chunkqueue] skip setting limit if it is the current one 11 years ago
Stefan Bühler eaf460e3d0 [plugin_core] fix docroot pattern error handling (fixes #2362) 11 years ago
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.
11 years ago
Stefan Bühler b15ec2ecf4 [cmake] fix linker errors with --as-needed (fixes #2360) 11 years ago
Stefan Bühler f98f9bb7b3 [openssl] fix error message for wrong listen option 11 years ago
Stefan Bühler dd4ed2c560 [mod_openssl] fix build error if SSL_OP_NO_COMPRESSION isn't defined 11 years ago
Stefan Bühler 7a9ae91566 [mod_openssl] close connection on client initiated renegotiation 11 years ago
Joe Presbrey 85b620eb3c [mod_openssl] add options and defaults
Co-authored-by: Stefan Bühler <stbuehler@web.de>
11 years ago
Joe Presbrey 92bfc4c676 [mod_openssl] add openssl.setenv action (client, client-cert, server, server-cert) 11 years ago
Joe Presbrey 3f9ba6ebdc [mod_openssl] add verify{,-any,-depth,-require}, client-ca-file 11 years ago
Stefan Bühler 9e215e397f [value] add some functions to handle liValue 11 years ago
Thomas Porzelt 3f12becf59 [plugin_core] add 'map' action, which maps the result of a pattern to a user defined action 11 years ago
Thomas Porzelt 3af94cf12d [mod_progress] free data on module unload properly 11 years ago
Thomas Porzelt 2d52ff9170 [mempool] support profiler for mmap allocations. use g_malloc/free instead malloc/free 11 years ago
Thomas Porzelt aeb88422a0 [profiler] export li_profiler_enabled and li_profiler_hashtable_insert/remove. add heap base/break/size to dump output 11 years ago
Thomas Porzelt a66b6ce8d5 [config parser] rename 'o' liValue variables to 'v'. the name was a relict from option variables 11 years ago
Thomas Porzelt 9f17fd620d [config parser] add 'none' and 'default' keywords 11 years ago
Stefan Bühler a7741a2f22 [core] Ignore connection headers from backends 12 years ago
Thomas Porzelt fc3d0e51e9 [core] fix invalid html in auto-generated responses 12 years ago
Stefan Bühler 3277edabe6 connection.c: optimize buffer usage - don't keep too many unused buffers around 12 years ago
Stefan Bühler ba3d50ba79 [mempool]: use g_free instead of free in ALLOC mode 12 years ago
Stefan Bühler bd5c2f4ebe move profiler code to common lib 12 years ago
Thomas Porzelt bd15bb8f82 [core] fix for previous commit. gc requency was set to 10s not 5min 12 years ago
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 12 years ago
Thomas Porzelt 011380dcb7 [core] change memory profiler output, add minsize parameter to debug.profiler_dump action 12 years ago
Joe Presbrey 60fc8d421d [mod_status] add status_info_auto 12 years ago