148 Commits (dbdab5dbc9b98df9c40f11e0fc6a6ce49bfea804)

Author SHA1 Message Date
Glenn Strauss dbdab5dbc9 [core] server.error-handler new directive for error pages (fixes #2702) 6 years ago
Glenn Strauss 87b172e70e remove unused con->error_handler member 6 years ago
Glenn Strauss 5492063f35 [core] set REDIRECT_STATUS to error_handler_saved_status (fixes #1828) 6 years ago
Glenn Strauss 4b0c822ed0 always poll for client POLLHUP/POLLERR events (fixes #399) 6 years ago
Glenn Strauss 635ab6f802 mv funcs from connections.c to connections-glue.c 6 years ago
Glenn Strauss c263bc6a11 defer reading request body until handle subrequest (fixes #2541) 6 years ago
Glenn Strauss a65c57a548 [core] open fd when appending file to cq (fixes #2655) 6 years ago
Glenn Strauss 760baed402 [mod_expire] reset caching response headers for error docs (fixes #1919) 6 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073) 6 years ago
Stefan Bühler 6f89a8bbef [core] fix request_start in keep-alive requests to mark time when received first byte (fixes #2412) 6 years ago
Stefan Bühler c033a1966e [core] improve conditional enabling (thx Gwenlliana, #2598) 6 years ago
Stefan Bühler 566cf8decb add force_assert for more allocation results 6 years ago
Stefan Bühler a069548370 [core] revert increase of temp file size back to 1MB, provide a configure option "server.upload-temp-file-size" instead (fixes #2680) 7 years ago
Stefan Bühler f19128086c [core] don't buffer request bodies smaller than 64k on disk 7 years ago
Stefan Bühler a93be99441 [core] fix search for header end if split across chunks (fixes #2670) 7 years ago
Stefan Bühler 3512b5cb77 [core] allocate at least 4k buffer for incoming data 7 years ago
Stefan Bühler 26226271de maintain cq->bytes_in in chunk API; keep bytes_out/bytes_in synced 7 years ago
Stefan Bühler 593599f14a rewrite network (write) backends 7 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member 7 years ago
Stefan Bühler 1be163b44a Remove chunkqueue_get_{append,prepend}* API 7 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API 7 years ago
Stefan Bühler d00e1e79b9 [connections] fix bug in connection state handling 7 years ago
Stefan Bühler 9f2be4882d force assertion: setting FD_CLOEXEC must work (if available) 8 years ago
Stefan Bühler 07dd0bd0a5 add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546) 8 years ago
Stefan Bühler 29a1070299 add comments for switch fall throughs 8 years ago
Stefan Bühler 559b198f86 [auth] put REMOTE_USER into cgi environment, making it accessible to lua via lighty.req_env (fixes #2495) 9 years ago
Stefan Bühler 6d4d2118c3 [ssl] accept ssl renegotiations if they are not disabled (fixes #2491) 9 years ago
Stefan Bühler 05858f6cf2 [ssl] Fix $HTTP["scheme"] conditional, could be "http" for ssl connections if the ssl $SERVER["socket"] conditional was nested (fixes #2501) 9 years ago
Stefan Bühler 9b36534752 [core] return 501 Not Implemented in static file mode for all methods except GET/POST/HEAD/OPTIONS 9 years ago
Stefan Bühler 25a2d665aa call ERR_clear_error only for ssl connections in CON_STATE_ERROR 9 years ago
Stefan Bühler d4d1ff36aa add PATCH method (fixes #2424) 10 years ago
Stefan Bühler db1d977dea Ignore EPIPE/ECONNRESET after SSL_shutdown (thx patdk-wk for reporting) 10 years ago
Stefan Bühler d194c09da9 [ssl] fix segfault in counting renegotiations for openssl versions without TLSEXT/SNI 11 years ago
Stefan Bühler a94bdd07df [ssl] count renegotiations to prevent client renegotiations 11 years ago
Stefan Bühler 3518ab60ed Don't overwrite 401 (auth required) with 501 (unknown method) (fixes #2341) 11 years ago
Stefan Bühler f434d514ad Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. 11 years ago
Stefan Bühler cf719ec5b8 Silence annoying "connection closed: poll() -> ERR" error.log message (fixes #2257) 12 years ago
Stefan Bühler 7e5b0fe9ab Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers. 12 years ago
Stefan Bühler 38f2d1ddd7 cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls 12 years ago
Stefan Bühler cf5fcf953d openssl: silence annoying error messages for errno==0 (fixes #2213) 12 years ago
Stefan Bühler bd4c4aaab2 Fix stalls while reading from ssl sockets (fixes #2197) 12 years ago
Stefan Bühler b3892c1410 Reset uri.authority before TLS servername handling, reset all "keep-alive" data in connection_del (fixes #2125) 12 years ago
Stefan Bühler 914e499723 Fix HUP detection in close-state if event-backend doesn't support FDEVENT_HUP (like select or poll on FreeBSD) 12 years ago
Stefan Bühler f601b8028b Append to previous buffer in con read (fixes #2147, found by liming, CVE-2010-0295) 12 years ago
Stefan Bühler 48fea28651 Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105) 13 years ago
Stefan Bühler 2b79b9c3cb reset tlsext_server_name in connection_reset - fixes random hostnames in the $HTTP["host"] conditional 13 years ago
Stefan Bühler ef28250d23 disable warning "CLOSE-read", part 2 (fixes #2091) 13 years ago
Stefan Bühler a81c2a1b02 disable warning "CLOSE-read" 13 years ago
Peter Colberg 8b6dae4139 Add TLS servername indication (SNI) support (fixes #386, thx Peter Colberg <peter@colberg.org>) 13 years ago
Stefan Bühler 20c4cd55c3 Fix close_timeout_ts trigger (should finally fix lingering close) 13 years ago