Commit Graph

1057 Commits (4875c125eb4e711af40933820e66caff5f0ca815)

Author SHA1 Message Date
Stefan Bühler 4875c125eb r2124@chromobil: stefan | 2008-02-27 19:34:57 +0100
test procedure: increased select timeout after killing lighttpd to avoid "Address already in use".


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2100 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 18:36:01 +00:00
Stefan Bühler debd30876a r2123@chromobil: stefan | 2008-02-27 19:30:54 +0100
do not generate a "Content-Length: 0" header for HEAD requests, added test too


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2099 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 18:35:42 +00:00
Stefan Bühler d1bb91108d Fix Content-Length header if response body gets removed in connections.c (#1412, part 2)
- do not touch if it is a HEAD request (but set file_finished)
 - body gets removed for req method OPTION and some status codes


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2098 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 12:15:38 +00:00
Stefan Bühler f570913e3c Fix #1412: do not suppress content for "307 Temporary Redirect"
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2097 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 11:10:33 +00:00
Stefan Bühler 041350b40d Updating NEWS file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2096 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 09:35:19 +00:00
Stefan Bühler 40a41e3b66 Fix the fix #1324/[2086]: if no module handled a request, treat method OPTION as 200, all others as 403.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2095 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 19:14:14 +00:00
Stefan Bühler 8b28023c85 Fix mod-proxy.t to run outside of the srcdir
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2094 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 19:13:55 +00:00
Stefan Bühler db1b286ecd r2098@chromobil: stefan | 2008-02-26 17:12:51 +0100
Fix #1574: Check for symlinks after successful pathinfo matching.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2093 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:22:08 +00:00
Stefan Bühler c0db8ab168 r2097@chromobil: stefan | 2008-02-26 17:12:30 +0100
Fix #516: RoundRobin in mod_proxy


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2092 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:21:56 +00:00
Stefan Bühler 88750bb7be r2096@chromobil: stefan | 2008-02-26 17:12:09 +0100
Enhancement #1544: Log the ip of failed auth tries in error.log


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2091 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:21:44 +00:00
Stefan Bühler 87145864db r2095@chromobil: stefan | 2008-02-26 17:11:21 +0100
Fix #1449: Do not add Accept-Ranges header if range-request is disabled


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2090 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:21:32 +00:00
Stefan Bühler 0a894c9cb3 r2094@chromobil: stefan | 2008-02-26 17:10:49 +0100
Fix #1413: including of stdint.h/inttypes.h in etag.c


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2089 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:21:20 +00:00
Stefan Bühler 26c45e8004 r2093@chromobil: stefan | 2008-02-26 17:10:03 +0100
Fix #1349: building outside of the src dir


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2088 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:21:09 +00:00
Stefan Bühler 03f515165f r2092@chromobil: stefan | 2008-02-26 17:08:48 +0100
Fix #1347: memory leak on windows


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2087 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:20:58 +00:00
Stefan Bühler a25cbfa36b r2091@chromobil: stefan | 2008-02-26 17:06:03 +0100
Fix #1324: req-method OPTIONS: do not insert default response if request was denied
 
  - Request is handled as denied if status != 0 && status != 200


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2086 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:20:48 +00:00
Stefan Bühler a103fef58c r2090@chromobil: stefan | 2008-02-26 17:04:14 +0100
Fix #1171: Generate a etag/last-modified header for on-the-fly-compressed files. (as 1.5 already does)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2085 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:20:37 +00:00
Stefan Bühler ad722324d9 r2089@chromobil: stefan | 2008-02-26 17:02:46 +0100
Fix #285: Remove workaround for buggy Opera version with ssl/chunked encoding.
 
  - The workaround may lead to a realloc, but the memory address for a repeated SSL_write must not change.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2084 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:20:26 +00:00
Stefan Bühler 75f92dd796 r2088@chromobil: stefan | 2008-02-26 17:02:27 +0100
Fix #1565: mod_compress should check if the request is already handled, e.g. by fastcgi


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2083 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:20:15 +00:00
Stefan Bühler 796502e7af r2087@chromobil: stefan | 2008-02-26 17:01:12 +0100
Fix #1562 and try re-fixing #372: out of range access in fd array
 
  - Bug is in original #372 fix [853]
  - The re-fix for #372 is not tested:
    the problem is that Solaris doesn't want to poll for maxfds (ulimit) events,
    as at least one filedescriptor is used for the poll device.
    So the solution is to just ask for one event less; the number of events
    actually available is returned by the poll syscall, so it should work.
 


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2082 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:20:04 +00:00
Stefan Bühler d0862e8522 r2086@chromobil: stefan | 2008-02-26 16:15:28 +0100
Fix #1027: create directories in mod_compress (was broken with alias/userdir)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2081 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:19:53 +00:00
Stefan Bühler f350d186fc r2085@chromobil: stefan | 2008-02-26 16:14:50 +0100
Fix #1164: Reset conditional cache


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2080 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:19:42 +00:00
Xuefer c97dc80862 fixed #1571: Crash when trying to add single item to list in config file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2079 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-25 06:57:32 +00:00
Xuefer 925e96f5ed fix tests build for scons that has no config.h
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2078 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-25 06:56:48 +00:00
Jan Kneschke 94feee046c fixed handling of EAGAIN in linux-sendfile (fixes #657)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2072 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-10 18:49:39 +00:00
Jan Kneschke b719752a6c handle ECONNRESET in the openssl backend
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2066 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-28 07:02:11 +00:00
Jan Kneschke 830bb59d86 don't report the "cgi died ?" in case we killed the dangling CGI process
with SIGTERM


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2065 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-28 07:01:54 +00:00
Jan Kneschke 9d6da0d16c handle ECONNRESET as write-error()
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2063 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-27 16:57:43 +00:00
Elan Ruusamäe cde46f6a3d - support chained proxies in mod_extforward (#1528)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2061 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-21 08:21:20 +00:00
Elan Ruusamäe 022742a5ae - support letterhomes in mod_userdir (#1473)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2058 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-18 12:50:09 +00:00
Elan Ruusamäe 15b126c73e - cosmetic
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2054 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-18 09:23:32 +00:00
Elan Ruusamäe 3078b31568 - generate ETag and Last-Modified headers for mod_ssi based on newest modified include (#1491)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2053 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-18 09:21:07 +00:00
Elan Ruusamäe af4be7d0ce - HTTPS env var should be "on" when using mod_extforward and the X-Forwarded-Proto header is set. (#1499)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2052 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-18 09:07:54 +00:00
Elan Ruusamäe 45e388b2a7 - add .jar mimetype. #1503
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2051 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-17 12:41:14 +00:00
Elan Ruusamäe a18086bc35 - open log immediately after daemonizing, fixes SIGPIPEs on startup (#165)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2049 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-17 12:29:47 +00:00
Elan Ruusamäe 299ae40e78 - add IdleServers and Scoreboard directives in ?auto mode for mod_status (#1507)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2045 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-17 09:54:00 +00:00
Elan Ruusamäe b6d6b82b70 - add test for extforward module
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2044 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-17 09:50:17 +00:00
Elan Ruusamäe 0ce79f8a1c - add missing files to EXTRA_DIST
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2043 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 16:11:39 +00:00
Elan Ruusamäe 0f2fd1efd8 - add more missing files
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2042 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 16:07:10 +00:00
Elan Ruusamäe 1f72c848af - add missing tests
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2041 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 16:04:16 +00:00
Elan Ruusamäe f7dab695cc - sort
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2040 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 16:01:23 +00:00
Elan Ruusamäe 365971bbf4 - US-ASCII for sake of trac
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2038 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 01:02:00 +00:00
Elan Ruusamäe 1f68a04110 - prevent crash in certain php-fcgi configurations (#841)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2037 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 01:00:32 +00:00
Elan Ruusamäe 513057ebd4 - fix also scgi and proxy modules. #1489
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2035 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 00:26:12 +00:00
Elan Ruusamäe 95769fb3f6 - Print error if X-LIGHTTPD-send-file cannot be done; reset header Content-Length for send-file.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2034 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 00:19:54 +00:00
Elan Ruusamäe bdd2fce478 - fixed a bug that made /-prefixed fcgi extensions being handled also when matching the end of the uri (#1489)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2030 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-15 23:20:23 +00:00
Elan Ruusamäe c65ad47a55 - change s/// separator that it doesn't confuse vim
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2027 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-15 22:03:59 +00:00
Jan Kneschke 708f499d75 fixed case-sensitive match of auth-method (fixes #1456)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2026 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-23 15:23:35 +00:00
Elan Ruusamäe 12bf15dd4e - note change
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2024 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-12 16:04:13 +00:00
Elan Ruusamäe b0f37b9c50 - use execv() directly to fcgi app if used as argument. resolves #1428
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2023 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-12 16:02:47 +00:00
Elan Ruusamäe 68ebed3753 - typo
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2021 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-10 16:49:55 +00:00