Stefan Bühler
f9999e286e
Disable logging to access.log if filename is an empty string
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2162 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
cbdd9e485b
Do not rely on PATH_MAX (POSIX does not require it) ( #580 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2161 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
5a9992b106
Fixed many warnings (compare (un)signed, unused vars, and initialize with zero)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2160 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
7adc4d7e8c
Remove generated mod_ssi_expreparser.h from source (should be generated by lemon)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2159 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
c431c5166f
And now really delete lighttpd.spec.in itself
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2158 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
70c0280c92
Remove lighttpd.spec* from source, fixing all problems with it ;-)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2157 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
074223041a
Fix typo in test description
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2156 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
73189c64e7
Fix mod_magnet to set con->mode = p->id if it generates content, so returning 4xx/5xx doesn't append an error page
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2155 152afb58-edef-0310-8abb-c4023f1b3aa9
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 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2154 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
8dd78e06c7
Handle EINTR in mod_cgi during write() ( #1640 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2153 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
4bf89c62b6
Overwrite Content-Type header in mod_dirlisting instead of inserting ( #1614 ), patch by Henrik Holst
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2152 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
fcce4c9cbb
Fix comment style (use /* */ instead of //)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2151 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
fe8b7e575e
Fix mod_fastcgi prefix matching: match the prefix always against url, not the absolute filepath (regardless of check-local)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2150 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
79a6ae3fd4
Fix accesslog port (should be port from the connection, not the "server.port") ( #1618 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2149 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0841482318
Enable escaping of % and $ in redirect/rewrite; only two cases changed their behaviour: "%%" => "%", "$$" => "$"
...
Old behaviour was "%%" => "%%" and "$$" => "$$"
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2148 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
bb1d9af71c
Fix conditional interpretation of core options
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2147 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ff4cabbb1d
Don't send empty Server headers ( #1620 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2145 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Marcus Rückert
91d83ea983
- fix 2 small typos in the ssl fix
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2144 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
bcb3310a62
Use data_response_init in mod_fastcgi x-sendfile handling for response.headers, fix a small "memleak" ( #1628 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2143 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
3ab6e28ce8
Fix previous commit (wrong line in the NEWS file)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2142 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
7df37be5c5
Added CVE for #285 (CVE-2008-1531)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2141 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
6363a0908f
Fixed SSL_shutdown error handling problems which became visible after [2136].
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2139 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
2cf3927ef5
Fix segfault for appending matched parts if there was no regex matching (just give empty strings) ( #1601 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2138 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago