Stefan Bühler
80be71bd43
Fix mod_magnet: enable "request.method" and "request.protocol" in lighty.env ( #1308 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2137 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-26 13:51:33 +00:00
Stefan Bühler
2b46e3dacc
Fix #285 again: read error after SSL_shutdown (thx marton.illes@balabit.com) and clear the error queue before some other calls
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2136 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-26 11:51:06 +00:00
Stefan Bühler
763f88406e
Update documentation for #1587
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2130 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-13 15:34:46 +00:00
Stefan Bühler
2772e62d8d
Fix mod_extforward to compile with old gcc version ( #1591 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2129 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-13 15:34:28 +00:00
Stefan Bühler
adec5443ee
Fix mod_compress to compile with old gcc version ( #1592 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2128 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-13 15:34:10 +00:00
Stefan Bühler
6528732c79
- next is 1.4.20
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2127 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-13 15:33:06 +00:00
Marcus Rückert
41414d6348
- added CVE for the mod_userdir bug
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2125 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-10 21:28:30 +00:00
Jan Kneschke
7bb555991c
fixed handling of waitpid() == EINTR mod_ssi on solaris
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2124 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-10 19:20:27 +00:00
Jan Kneschke
1181dad6e0
make configure checks for --with-pcre, --with-zlib and --with-bzip2 failing if the headers aren't found
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2123 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-10 19:15:27 +00:00
Jan Kneschke
abe8e3613e
added support to run dtruss as TRACEME
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2122 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-10 19:14:05 +00:00
Marcus Rückert
8cc03378a1
- added cve numbers for DOS and mod_cgi bug
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2121 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-10 15:54:38 +00:00
Stefan Bühler
ec5c74ad12
workaround #1587 : require userdir.path to be set to enable mod_userdir (empty string allowed)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2120 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-10 11:45:29 +00:00
Elan Ruusamäe
0fd628958c
- verbose FCGI header too small error
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2119 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-07 10:48:34 +00:00
Stefan Bühler
0663d67c1a
Fix symlink.t check to run with builddir != srcdir
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2115 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-02 12:59:54 +00:00
Stefan Bühler
1431deba81
Add option to configure verbosity of check in commandline: "VERBOSE=1 make check"
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2114 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-02 12:59:36 +00:00
Stefan Bühler
85b8153dfc
Fix previous merge
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2113 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-02 12:59:18 +00:00
Xuefer
9ffe08a583
merged part of [1528] from trunk: added the new options and added alternative names for user-agent, remote-ip and query-string
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2112 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-02 11:46:44 +00:00
Stefan Bühler
52840fa1ed
fix sending "408 - Timeout" instead of "410 - Gone" for timedout urls in mod_secdownload ( #1440 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2111 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-01 19:10:47 +00:00
Stefan Bühler
6754ad5116
fix min-procs handling in mod_scgi.c, just set to max-procs (patch from #623 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2109 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-28 22:19:03 +00:00
Stefan Bühler
c065f36bc1
r2136@chromobil: stefan | 2008-02-28 22:18:14 +0100
...
Fix sending source of cgi script instead of 500 error if fork fails
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2107 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-28 21:19:24 +00:00
Stefan Bühler
0adc0af5fd
Fix #1575 : spawn-fcgi: only try to connect to unix socket (not tcp) before spawning
...
- we do not need to check for a tcp socket this way as bind will fail if the socket is in use;
this does not apply to unix sockets as they are not bound to a filename but to the file, which
we delete before spawning.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2106 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-28 12:19:34 +00:00
Jan Kneschke
c5a1cac202
allow content for Status 300
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2105 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 23:42:22 +00:00
Jan Kneschke
5b20e0d864
fixed missing initialization
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2104 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 23:42:01 +00:00
Jan Kneschke
46396ac56c
don't suppress the content of a status 300
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2103 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 23:41:35 +00:00
Jan Kneschke
7a61e46289
fixed warning about incompatible assignment
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2102 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 23:40:59 +00:00
Stefan Bühler
87d3e8e41e
Fix #1150 : remove compress cache file if compression or write failed
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2101 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 19:36:34 +00:00
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