summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix configure.ac to allow autoreconf, also enables make V=0lighttpd-1.4.25Stefan Bühler2009-11-213-2/+4
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2693 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_fastcgi: Don't reconnect after connect() succeeded (fixes #2096)Stefan Bühler2009-11-072-23/+7
| | | | | | | | | | - a reconnect would try to rebuild the outgoing queue, which involves reusing the post body - but the first try already removed it. we could try reusing the queue, but otoh that really isn't our problem. accept() it - handle it. git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2692 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_fastcgi: fix mod_fastcgi packet parsingStefan Bühler2009-11-072-10/+12
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2691 152afb58-edef-0310-8abb-c4023f1b3aa9
* export some SSL_CLIENT_* vars for client cert validation (fixes #1288, thx ↵Stefan Bühler2009-11-054-0/+83
| | | | | | presbrey) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2688 152afb58-edef-0310-8abb-c4023f1b3aa9
* reset tlsext_server_name in connection_reset - fixes random hostnames in the ↵Stefan Bühler2009-11-052-0/+4
| | | | | | $HTTP["host"] conditional git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2687 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_rrdtool: fix creating file if it doesn't exist (#1788)Stefan Bühler2009-10-312-4/+5
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2686 152afb58-edef-0310-8abb-c4023f1b3aa9
* disable warning "CLOSE-read", part 2 (fixes #2091)Stefan Bühler2009-10-272-1/+3
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2685 152afb58-edef-0310-8abb-c4023f1b3aa9
* disable warning "CLOSE-read"Stefan Bühler2009-10-262-0/+3
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2684 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_rewrite: fix compile error if compiled without pcreStefan Bühler2009-10-262-51/+34
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2683 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_magnet: add traceback for printing lua errorsStefan Bühler2009-10-262-1/+32
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2681 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_magnet: fix pairs() for normal tables and strings (fixes #1307)Stefan Bühler2009-10-262-1/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2680 152afb58-edef-0310-8abb-c4023f1b3aa9
* - next is 1.4.25Stefan Bühler2009-10-264-4/+7
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2679 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix broken return values from int to enum in mod_fastcgiStefan Bühler2009-10-202-16/+7
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2670 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix linger close timeout handling, drop timeout to 5 seconds (fixes #2086)Stefan Bühler2009-10-193-1/+7
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2669 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix NEWS - referenced wrong bug (fixes #2084)Stefan Bühler2009-10-171-1/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2668 152afb58-edef-0310-8abb-c4023f1b3aa9
* Don't print ssl error if client didn't support TLS SNIStefan Bühler2009-10-162-2/+7
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2666 152afb58-edef-0310-8abb-c4023f1b3aa9
* fix mod_webdav crash from #1793 (fixes #2048, thx hiroya)Stefan Bühler2009-10-162-1/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2665 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix accesslog escape segfault (#1551)Stefan Bühler2009-10-162-1/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2664 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_accesslog: escape special characters (fixes #1551, thx icy)Stefan Bühler2009-10-162-6/+52
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2660 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_fastcgi: Fix host->active_procs counter, return 503 if connect wasn't ↵Stefan Bühler2009-10-162-4/+6
| | | | | | successful after 5 tries (fixes #1825) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2657 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix compile problems without sslStefan Bühler2009-10-141-0/+4
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2656 152afb58-edef-0310-8abb-c4023f1b3aa9
* Add SSL Client Certificate verification (#1288)Stefan Bühler2009-10-145-1/+58
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2654 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix compile error if TLS SNI isn't supportedStefan Bühler2009-10-141-4/+7
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2652 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_fastcgi: Add "X-Sendfile2" - supporting multiple ranged files (fixes #2008)Stefan Bühler2009-10-146-8/+135
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2651 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix some warnings in previous commit (TLS SNI)Stefan Bühler2009-10-141-2/+3
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2650 152afb58-edef-0310-8abb-c4023f1b3aa9
* Add TLS servername indication (SNI) support (fixes #386, thx Peter Colberg ↵Peter Colberg2009-10-1414-77/+163
| | | | | | | | | | | | <peter@colberg.org>) * This patch may "break" some configs, if they do stupid things. Like setting ssl.pemfile to a not existing file in a "non-socket/non-ssl" block. Fix them! :) From: Peter Colberg <peter@colberg.org> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2648 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_rewrite: add url.rewrite-[repeat-]if-not-file to rewrite if file doesn't ↵Stefan Bühler2009-10-124-34/+115
| | | | | | exist or is not a regular file (fixes #985, thx lucas aerbeydt) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2647 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix mod_fastcgi bin-path checkStefan Bühler2009-10-121-1/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2646 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix close_timeout_ts trigger (should finally fix lingering close)Stefan Bühler2009-10-123-2/+4
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2645 152afb58-edef-0310-8abb-c4023f1b3aa9
* Add some iterators for mod_magnet (fixes #1307)Stefan Bühler2009-10-122-29/+199
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2644 152afb58-edef-0310-8abb-c4023f1b3aa9
* always define _GNU_SOURCEStefan Bühler2009-10-125-8/+10
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2643 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_accesslog: configurable timestamp logging (fixes #1479)Stefan Bühler2009-10-122-25/+69
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2642 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_usertrack: Use T_CONFIG_INT for max-age, solves range problem (#1455)Stefan Bühler2009-10-122-2/+3
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2641 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix segfault on invalid config "duplicate else conditions" (fixes #2065)Stefan Bühler2009-10-123-2/+8
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2640 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_fastcgi: restart local procs immediately after they terminated, fix ↵Stefan Bühler2009-10-113-23/+30
| | | | | | local procs handling git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2639 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix linger-on-close behaviour to avoid rare failure conditions (was r2636, ↵Stefan Bühler2009-10-111-0/+1
| | | | | | | | fixes #657, thx apenwarr) Sry for the broken commit message git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2638 152afb58-edef-0310-8abb-c4023f1b3aa9
* tests: Rename env-var to select tests to RUNTESTSStefan Bühler2009-10-111-1/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2637 152afb58-edef-0310-8abb-c4023f1b3aa9
* commit 476c5d48ea9fbd4d1c6d4ef3f128b6e4898a297fStefan Bühler2009-10-111-24/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix linger-on-close behaviour to avoid rare failure conditions. - Don't assume that when FIONREAD returns 0, that it's safe to close the socket. There may still be data that's about to arrive, and we'll still send an RST if the socket is confused, potentially confusing the client. - Don't close the connection immediately after sending a successful response; linger-on-close was only happening in the case of errors, but it has to happen in case of success too, because the client doesn't necessarily know we're about to close after this request, and may have sent additional ones. (eg. if server.max-keep-alive-requests is small.) - Don't close the connection immediately even if keep_alive is 0; there are several reasons keep_alive can be 0. If the client requested Connection: close, then it would be okay to close right away, since we can assume he didn't send anything else. But it's harmless (and more resilient) to do the lingering regardless. - Increase the lingering timeout from 1s to 30s. In the vast majority of cases, the timeout never kicks in anyway. The only times when it might be needed are a) in race conditions, in which case timing out too early defeats the purpose of lingering at all; b) if there's a lot of data, which is basically the same as (a); or c) if the remote end disappears, in which case we now suffer through a longer timeout... but we would anyway, if we were waiting for them to receive our transmission. git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2636 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_fastcgi: fix is_local detection, respawn backends if bin-path is set ↵Stefan Bühler2009-10-112-31/+33
| | | | | | (fixes #897) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2635 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_compress: match partial+full content-type (fixes #1552)Stefan Bühler2009-10-114-5/+17
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2634 152afb58-edef-0310-8abb-c4023f1b3aa9
* Update NEWS fileStefan Bühler2009-10-111-0/+6
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2633 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_fastcgi: don't disable backend if disable-time is 0 (fixes #1825)Stefan Bühler2009-10-111-36/+27
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2632 152afb58-edef-0310-8abb-c4023f1b3aa9
* Read hostname from absolute uris in the request line (fixes #1937)Stefan Bühler2009-10-112-4/+38
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2631 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_webdav: Delete old properties before updating new for MOVE (fixes #1317)Stefan Bühler2009-10-111-1/+18
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2630 152afb58-edef-0310-8abb-c4023f1b3aa9
* mod_webdav: Patch to skip login information for domain part of Destination ↵Stefan Bühler2009-10-111-1/+5
| | | | | | field (fixes #1793) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2629 152afb58-edef-0310-8abb-c4023f1b3aa9
* Revert to _GNU_SOURCE before <time.h> for strptimeStefan Bühler2009-10-111-4/+5
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2628 152afb58-edef-0310-8abb-c4023f1b3aa9
* Add _XOPEN_SOURCE for strptimeStefan Bühler2009-10-111-0/+4
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2627 152afb58-edef-0310-8abb-c4023f1b3aa9
* Add <sys/types.h> before including event backendsStefan Bühler2009-10-111-0/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2626 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix some compile problems from header inclusion reorder patchStefan Bühler2009-10-112-3/+7
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2625 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix header inclusion order, always include "config.h" before any system headerStefan Bühler2009-10-1198-570/+510
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2624 152afb58-edef-0310-8abb-c4023f1b3aa9