Commit Graph

132 Commits (69f890e2c55aefb4eb2ce1315249d14b9bc71f06)

Author SHA1 Message Date
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 8 years ago
Stefan Bühler 1be163b44a Remove chunkqueue_get_{append,prepend}* API 8 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API 8 years ago
Stefan Bühler d00e1e79b9 [connections] fix bug in connection state handling 8 years ago
Stefan Bühler 9f2be4882d force assertion: setting FD_CLOEXEC must work (if available) 9 years ago
Stefan Bühler 07dd0bd0a5 add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546) 9 years ago
Stefan Bühler 29a1070299 add comments for switch fall throughs 9 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 10 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) 13 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) 13 years ago
Stefan Bühler f601b8028b Append to previous buffer in con read (fixes #2147, found by liming, CVE-2010-0295) 13 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
Stefan Bühler 7c65bd74ff commit 476c5d48ea9fbd4d1c6d4ef3f128b6e4898a297f 13 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header 13 years ago
Stefan Bühler 4df22f2a32 Fix issues found with clang analyzer 13 years ago
Stefan Bühler 214484dec0 Keep url/host values from connection to display information while keep-alive in mod_status (fixes #1202) 13 years ago
Stefan Bühler 60e745695a Fix 100% cpu usage if time() < 0 (thx to gaspa and cate, fixes #1964) 13 years ago
Stefan Bühler b202898c40 Backup errno for later usage (reported by Guido Reina via mailinglist) 14 years ago
Stefan Bühler 966ba442dc Limit amount of bytes read for one read-event (fixes #1070) 14 years ago
Stefan Bühler 63f785a2f8 Added some extra warning options in cmake and fix the resulting warnings (unused/static functions) 14 years ago
Stefan Bühler 21c5377d3f Use FD_CLOEXEC if possible (fixes #1821) 14 years ago
Stefan Bühler 80a2ff3f3a Do not rely on ioctl FIONREAD (#673) 14 years ago
Stefan Bühler 19588f6ee6 Hide some ssl errors per default, enable them with debug.log-ssl-noise (#397) 14 years ago
Stefan Bühler 52861d77df Replace buffer_{append,copy}_string with the _len variant where possible (#1732, thx crypt) 14 years ago
Stefan Bühler e93cb224c1 Fix more warnings (unused var, pointer types in md5.c) 15 years ago
Stefan Bühler ac92ea3616 Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx (#1639) 15 years ago
Stefan Bühler fcce4c9cbb Fix comment style (use /* */ instead of //) 15 years ago
Marcus Rückert 91d83ea983 - fix 2 small typos in the ssl fix 15 years ago