Stefan Bühler
65f4e4a8db
Try to convert string options to shorts for numeric options in config file; allows to use env-vars for numeric options. ( #1159 , thx andrewb)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2321 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
b66dc12fda
Fix leaving zombie process with include_shell ( #1777 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2319 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
cfba07cb82
Now really fix mod auth ldap ( #1066 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2318 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
80a2ff3f3a
Do not rely on ioctl FIONREAD ( #673 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2317 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
90bfe20bf5
Fix mod_cgi segfault when bound to unix domain socket ( #653 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2316 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
8cfa29a7a2
Fix base64 decoding in mod_auth ( #1757 , thx guido)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2315 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
345462a45f
Use decoded url for matching in mod_redirect ( #1720 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2309 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
c8bce9b4a5
Fix mod_rewrite memleak/endless loop detection ( #1775 , thx phy - again!)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2306 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
3decb2647b
Fix memleak in request header parsing ( #1774 , thx qhy)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2305 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
86766c10c5
fix auth.backend.ldap.bind-dn/pw problems (thx ruskie)
...
- missing PATCH for them in mod_auth_patch_connection
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2304 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
6d1d3fc203
workaround ldap connection leak if a ldap connection failed (restarting ldap)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2303 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
e7ff94835f
fix splitting of auth-ldap filter
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2302 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
7a64f2f888
fix segfault for stat_cache(fam) calls with relative path (without '/', can be triggered by x-sendfile) ( #1750 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2299 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
5ab6fa6fd2
Change parser generation again as the previous fix broke building with some non-gnu make utils.
...
According to the automake faq this is only "hiding errors" and we should be able to do better,
but i don't see how (and their examples don't work with -jX).
For a clean solution we need to compile lemon for the build host, not the target.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2298 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
9cb47be07f
Fix small copy/paste typo in previous commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2297 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
9e6ef84e91
Do not send content-encoding for 304 ( #1754 ), thx yzlai
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2296 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ed346f3907
Fixed parser generating with automake
...
- we want "make dist" to generate them (so you can use them for cross compiles),
but we don't want them to be generated in the source dir.
so if you change the .y files and have an extra build dir, you have to delete
the generated parsers from your source.
they get deleted with "make maintainer-clean"
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2294 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
22d8707ef2
Use struct copy instead of memcpy for volatile siginfo_t in server.c
...
Fixes "discards qualifiers" warning.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2292 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
19588f6ee6
Hide some ssl errors per default, enable them with debug.log-ssl-noise ( #397 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2291 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
438626667c
Fix mem leak in ssi expression parser ( #1753 ), thx Take5k
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2289 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
5194c28220
Fix "comparison between signed and unsigned" warning on 64 bit in mod_fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2288 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
b511c42939
Replaced fprintf with log_error_write in mod-fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2287 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
43a9842b28
Add 'O' and 'X' to format characters in log_error_write
...
upper case stands for "don't append space"; o/O is for off_t, x/X for int as hex
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2286 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
227d6f1b56
Fix format string bugs with sizeof(int)!=sizeof(size_t) in mod_accesslog for SYSLOG
...
(assuming there are no access-log-lines > 2GB)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2285 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
43075bd42a
Fix bug with case-insensitive filenames in mod_userdir ( #1589 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2283 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ec61ba0559
Match headers case insensitive in response (removing of X-{Sendfile,LIGHTTPD-*}, catching Date/Server)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2281 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ba715e1c8f
Fixed conditional patching of ldap filter ( #1564 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2280 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
5547928112
Decode url before matching in mod_rewrite ( #1720 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2278 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
e294fffbad
Print helpful error message on conditionals in global block ( #1550 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2277 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
8d837b75d0
Fix dropping last character of evhost pattern ( #161 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2275 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
b8835ab9a8
Allow digits in [s]cgi env vars ( #1712 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2274 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
d62f894344
Fix url encoding to encode more characters ( #266 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2272 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ad12e4c5b2
Insert many con->mode checks; they should prevent two modules to handle the same request if they shouldn't ( #631 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2271 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
f7dd7203e2
Fix buffer_reset to make an empty string
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2270 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
6ce1dfb0d1
mod_{fast,s}cgi: overwrite environment variables ( #1722 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2265 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
a7f5983e05
Fix EINTR handling for waitpid in mod_fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2264 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
d0b5d2b45f
Fix round-robin balancing in mod_proxy ( #1715 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2258 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
60b90dad70
Use filedescriptor 0 for mod_scgi spawn socket, redirect STDERR to /dev/null ( #1716 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2257 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
c1662bcf8a
Handle EAGAIN and EINTR for freebsd sendfile ( #1675 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2256 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
3f791f46d5
Fix mod_secdownload problem with unsigned time_t ( #1688 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2255 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0c16fddde3
Handle only HEAD, GET and POST in mod_dirlisting (same as in staticfile) ( #1687 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2253 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
41868422f3
case insensitive match for secdownload md5 token ( #1710 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2251 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
52861d77df
Replace buffer_{append,copy}_string with the _len variant where possible ( #1732 , thx crypt)
...
Replace BUFFER_{APPEND,COPY}_STRING_CONST with _len(b, CONST_STRL_LEN(x))
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2250 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
25c7c7f3f8
fixed typo in mod_accesslog, localtime instead of localtime_r ( #1699 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2247 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
a70ba6c625
Fix scgi HTTP/1.* status parsing ( #1638 ), found by met@uberstats.com
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2223 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
543830266c
Fix bug with IPv6 in mod_evasive
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2222 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
f08cd32877
Close connection in mod_magnet if returned status code
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2201 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
cf789917f7
Close connection after redirect in trigger_b4_dl
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2200 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
0f515626e4
- let spawn-fcgi propagate exit code from spawned fcgi application
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2198 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
00e5a032d6
- print success message to stdout (for discarding it from initscripts)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2196 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
f08ffad238
- strerror() wants errno as param not arbitary exit value from spawned child
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2194 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
5fa895e8ec
- revert unwanted commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2193 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
ef95813dea
- merge spawn-fcgi changes from trunk (from @2191)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2192 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
b5632eada1
fixed #729 : Incorrect PATH_INFO when FastCGI is serving "/", use "fix-root-scriptname" => "enable" to workaround
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2182 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
695a227783
build mod_extforward in scons
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2176 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
5921dc1f2d
sync code between fastcgi->scgi: copy note_is_sent, fix typos
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2173 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
b557589f05
sync the "if" logic block with mod_fastcgi to make the indention same
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2172 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
098ea27629
merged [2170] from trunk: fixed include basedir within include_shell, thanks to lunatic
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2171 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
4adb52a416
Fix dependencies of the parser files in the Makefile
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2167 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
193b933329
Fix type in previous commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2166 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
e93cb224c1
Fix more warnings (unused var, pointer types in md5.c)
...
- Use const void* in instead of unsigned char* in MD5_Update
(same as in the openssl api, to avoid signed/unsigned char* warnings)
- Add const to some pointers in md5.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2165 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
93e7167f84
Implement a clean way to open /dev/null and use it to close stdin/out/err in the needed places ( #624 )
...
- as stderr gets redirected to /dev/null before exec in childs, we cannot
write to the log afterwards, so disabled that log messages too.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2163 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
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
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
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
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
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
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
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
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Elan Ruusamäe
15b126c73e
- cosmetic
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2054 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Elan Ruusamäe
68ebed3753
- typo
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2021 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
9ab9f176d2
- apply patches from #1384
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2020 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
d6b9709b54
- support for matching $HTTP["scheme"] in configs, patch from:
...
http://trac.lighttpd.net/trac/wiki/HowToRedirectHttpToHttps
apparently by swiergot/at/gmail.com, adjusted for current svn.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2012 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
cb0f21c745
added support for If-Range: <date> ( fixes #1346 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2000 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
46e1ca19cc
use strchr() instead of index() as it is POSIX
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1994 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
7ce73896b7
- handle errors from the fcgi packet construction and return 400 if we have an error.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1993 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
5c333340be
free the buffers after the printed them in the error-msg
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1989 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
a3dcc8b505
- fixed crash with undefined environment variables
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1987 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
5b2e697cfa
* fixed hanging redirects with keep-alive due to missing
...
"Content-Length: 0" headers
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1985 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
eaed2f1e50
added some extra protection to make sure key-len and val-len don't
...
overrun
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1984 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
34b3ee0228
fixed FastCGI header overrun in mod_fastcgi
...
(reported by mattias@secweb.se )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1983 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
e0629883a9
* fixed forwarding a SIGINT and SIGHUP when using max-workers ( #902 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1982 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
b333dd7efa
added a first version of the lighttpd-angel process
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1981 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
29fdd34abd
fixed compile error on IRIX 6.5.x on prctl()
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1980 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
f2c8fb6eca
- dont crash if the mod_alias config cant be parsed properly
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1974 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
15d8378422
- make sure the etag buffer is non empty if we compare it with if-non-match
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1971 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
53634de06f
protect buffer_is_empty() from NULL buffers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1969 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
f7df9a9ecd
MYSQL_OPT_RECONNECT is available from 5.0.13 on ( fixes #1309 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1965 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
1e1a8e5907
use HAVE_SYS_PRCTL_H as HAVE_PRCTL is not checked for
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1958 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
ef19bacae8
added sending UID and PID for SIGTERM and SIGINT to the logs
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1957 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
51826fc05c
renamed ltostr() to LI_ltostr() to fix compile on HP/UX ( fixes #465 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1951 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
41e836b410
fixed extracting status code from NPH scripts ( fixes #1125 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1948 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
f67cdb67df
fixed handling of duplicate If-Modified-Since to return 304
...
- don't append the second string to the first, but free it instead
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1947 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
5bc539b63e
don't send a Content-Length for 1xx, 204 and 304 ( fixes #1002 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1946 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
c4e3150283
fixed possible overflow in unix-socket path checks on BSD ( #713 )
...
- use sizeof(sun_path) instead of UNIX_PATH_MAX which might not be
defined
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1944 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
f978d992df
use public API instead of patching the cond-cache ourself
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1943 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
3940c60e68
fixed aggressive caching of conditionals ( #41 )
...
$HTTP["url"] =~ "" { cgi.assign = ... } fails if there is a module
loaded which is called before uri_clean is set (mod_exforward,
mod_rewrite, ...)
- merged [1792], [1798], [1807], [1810], [1811] from trunk
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1942 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
7d2665843f
fixed counter overrun in ?auto in mod_status ( #909 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1941 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
e745fd6a12
added more debug output if FAM fails to monitor a dir (for #824 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1940 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
463e989458
removed early checks if the userfiles exist ( fixes #1188 )
...
- it is enough if the files exist when we really need them
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1938 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
dc4879473f
removed debug msg
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1937 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
8392673b7e
oops, ifd is gone
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1935 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
0177a96f5d
fixed endless loop on shrinked files with sendfile() on BSD
...
- merged the shrinked file handling from linux-sendfile
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1933 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
474d5cea20
config-options are always "unsigned short"
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1932 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
8f8e23f636
fixed invalid chars in header values ( fixes #1286 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1928 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
5f518191bd
fixed wrong result of buffer_caseless_compare("a", "ab") ( fixes #1287 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1927 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
1920bd2739
fixed invalid "304 Not Modified" on broken timestamps
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1926 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
f0333c8c0d
fixed crash on mixed \r\n and \n sequences
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1925 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
7eb8981e44
fixed duplicate code which handles the "disable keep-alive" for dynamic
...
content (fixes #1166 )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1924 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
6eccc7abd6
- set mysql reconnect to on. resolves #1240
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1919 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
e8abdbf94e
don't compress too small files ( fixes #1241 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1918 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
bbd42c4e03
added dir-listing.set-footer = <string> to set a footer under the
...
dirlisting (fixes #1277 )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1911 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
41271d5cf6
make sure that hash-function always uses a 32bit int ( fixes #1279 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1908 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
baec632cb7
- finally! the fix for 948.
...
only run into the 404 handler if we are in direct connection mode.
that way we cant run into the 404 handler if a fastcgi app returned a
404.
This is a small backwards incompatible change as now the *cgi app has
to generate the content for the 404 itself instead of falling back
into the 404-handler.
There is still a problem with subrequest which go back to the same
module (fastcgi app triggers subrequest which hits the fastcgi module
again) but that would require bigger changes to the plugin api. ATM
each plugin deinitialize its data after it handled the request. So the
module isnt initialized for the connection anymore and the subrequest
directly jumps out of the handler.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1904 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
05d9e7dd52
- remove the code again. this reopens #948
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1902 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
dac6d449dd
- backported fix from trunk
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1900 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
5504501699
- fix the frigging 404-handler bugs:
...
- dont restore the http status code unconditionally (1270)
- mod_staticfile should set the http status properly. otherwise we run into
the 404 handling twice and it appends the default 404 page to the content.
(this passed the testsuite)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1899 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
8f9f532083
* fixed crash on 32bit archs when debug-msgs are printed in mod_scgi,
...
mod_fastcgi and mod_webdav (#1263 )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1882 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
5a583661e3
- only generate the etag_flags once and store them in the connections
...
object.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1881 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
8feb331858
- we did not reset the etag buffer is the inode was not used for the
...
etag. we now reset the buffer explicitly and use buffer_append_* later
on. This fixes the bug reported by glen in #1209 .
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1880 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
abdd1f5b45
- do not check stale values on errno. EAGAIN is handled inside the
...
function already. (#1245 )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1879 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
15e260c28b
* fixed mem-leak in mod_auth (reported by Stefan Esser)
...
* fixed crash with md5-sess and cnonce not set in mod_auth (reported
by Stefan Esser)
* fixed missing check for base64 encoded string in mod_auth and Basic
auth (reported by Stefan Esser)
* fixed possible crash in Auth-Digest header parser on trailing WS in
mod_auth (reported by Stefan Esser)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1875 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
b2a96c959a
added static-file.etags, etag.use-inode, etag.use-mtime,
...
etag.use-size to customize the generation of ETags for
static files. (fixes #1209 ) (patch by <Yusufg@gmail.com>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1874 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
d12d86d777
if we open more connections than we define with ulimit we might run
...
into a assert() in fdevent.c, try to limit the number of opened
connections before hand
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1873 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
768a0d0eab
fixed type-cast for NULL in execl() ( fixes #1235 ), fix provided by Frank
...
DENIS
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1872 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
022760f07d
check the URL twice, before and after path-info handling. ( fixes #1230 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1871 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
9e4e4f7e1a
fixed remote crash on duplicate header keys with line-wrapping ( fixes #1230 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1869 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
991ebdf36f
- add the orig_uri to the uri column in mod_status.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1864 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
6e332dd7bb
- do not use xattr for content-type handling unconditionally
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1863 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
450c7de76e
- restore the old return code with configured 404 handlers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1852 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
1f8bceba8f
- added query string to the uri column
...
- make the table cell content nowrap
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1846 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
733e565a50
- spelling fixes by Ryan Schmidt (patch from mailinglist)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1821 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
66496a27d9
fixed for non c99 compilers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1787 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
2fcc885f3a
fixed duplicate headers as reported in the blog
...
- this is a partial revert of [1723]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1767 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
64877138f6
- added "kill-signal" as setting for fastcgi blocks. applications
...
linking libfcgi should be killed with SIGUSR1. The default value will
remain SIGTERM though. If you want to change it add:
'"kill-signal" => 10,' in your fastcgi block.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1745 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
aab9e92a63
* fixed compilation in network_writev.c on MacOS X 10.3.9 ( fixes #903 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1744 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
bdc811e2ec
fixed compilation on c89 compilers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1743 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
275af90577
- set AUTH_TYPE environment variable for fastcgi requests ( #889 )
...
patch by tkruthoff
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1741 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
599bc83699
handle the mmap() error of the file-size is 0 ( fixes #1076 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1739 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
fb816f768b
oops, missed one renamed variable if IPv6 is not available
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1738 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
7f5aabdaaf
* fixed possible crash in debug-message in mod_extforward
...
* fixed compilation of mod_extforward on glibc < 2.3.4
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1736 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
aa37da4745
- fixed crash on url.redirect and url.rewrite if %0 is used in a
...
global context (fixes #800 )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1735 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
dfa9f48b0f
ECONNABORTED is not known on cygwin ( fixes #863 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1734 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
fff10e1d1a
reduced default PATH_MAX to 255 ( fixes #826 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1733 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
8fca20187e
fixed conditional dir-listing.exclude ( fixes #930 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1732 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
642247c353
- fixed various crashes at startup on broken accesslog.format strings
...
(fixes #1000 )
- fixed handling of %% in accesslog.format
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1731 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
3c5c8ef54d
fixed accesslog.use-syslog in a conditional and the caching of the
...
accesslog for files (fixes #1064 )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1729 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
76e55e958c
strip trailing white-spaces in HTTP-request headers
...
before we parse them (fixes #1098 )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1727 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
7a30b1f4c5
don't allow caching of file without a content-type
...
- this solves the early install problems where the user hasn't setup
fastcgi yet and sends the php-source code out and the browser caches
the file and it's content
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1725 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
3c40b52929
- send SIGUSR1 to fastcgi apps before SIGTERM
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1724 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
a0436cea45
encode newlines in HTTP headers ( fixes #1106 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1723 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
a1a769ddb5
added possible for the caching of the invalid content-type
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1722 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
c3476ada45
fixed small mem-leak if auth failed
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1721 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
5db109e16d
cleanup whenever we have a data-struct on this connection
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1720 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
f1f11ba6ad
fixed crashed if gethostbyaddr() fails on redirect
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1718 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
10fbd9e24e
- properly handle 206 responses generated by *cgi scripts
...
closes 755
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1716 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
ba424e2293
- fix the previous commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1687 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
b3f333d32e
- add HTTPS=on to the environment of cgi scripts ( #861 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1684 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
892ebbe530
- handle 303 [ #1045 ]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1678 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
f8d54c8574
- properly ifdef for dragonflybsd. this should be the last missing chunk
...
patch by Jörg Sonnenberger
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1676 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Elan Ruusamäe
40e8d326d1
- unify style
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1671 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Elan Ruusamäe
f68fd405f4
- add mod_extforward module from wiki
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1665 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
e61146a740
- applied patch from sh@linux2go.dk ( #1039 )
...
References to FAM stat cache engine should be conditional
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1664 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
acd992cbf1
- applied patch from colin.stephen@o2.com ( #1041 )
...
fixes http 500 errors with mod_fastcgi
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1663 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Elan Ruusamäe
72ac4ece2e
- prevent wrong pidfile unlinking on graceful restart (patch by Chris Webb)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1656 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Elan Ruusamäe
1c662e07ba
- ignore empty packets from STDERR stream. fixes #998
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1607 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
55a713a1a1
r1557@h2o: darix | 2007-01-14 10:55:33 +0100
...
- fix a crash for files with an mtime of 0
reported by cubiq on irc
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1519 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
d471bcc9ca
r1553@h2o: darix | 2007-01-14 10:37:14 +0100
...
- allow empty passwords with ldap.
patch by Jöerg Sonnenberger
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1516 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Robert Jakabosky
5d8855bdef
commit fix from Ticket #964
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1501 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Robert Jakabosky
db76b98e03
Added round-robin support to mod_fastcgi.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1500 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
4fe6745364
- Handle DragonFlyBSD the same way as Freebsd.
...
Patch by Jörg Sonnenberger
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1492 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Elan Ruusamäe
36544e2186
added now and weeks support to mod_expire. close #943
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1478 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Robert Jakabosky
4f1587c57e
If client connection aborts during parse of "\r\n\r\n", then lighttpd never cleans up the
...
connection and keeps trying to read from the died connection. lighttpd still responses
to other requests, it just eats up all the cpu trying to handle the died connection.
this commit fixes that problem
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1473 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
4a609547a0
r1435@h2o: darix | 2006-11-10 18:25:42 +0100
...
"www.example.com." is equivalent to "www.example.com".
The trailing dot just tells the resolver to script the searchlist.
If we want to match the hostname for conditionals/mod*vhost,
we need to strip it.
* src/request.c: (request_check_hostname) Decrement host_len to skip
the trailing dot.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1406 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
53ab644ead
- merged -r1090:1091 => add --with-webdav-locks
...
- open modules with 'RTLD_NOW|RTLD_GLOBAL'
this fixes the problems with luafilesystems and missing symbols
- added AC_SUBST(UUID_LIBS)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1387 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
a0aafd9a24
save the old errno of the sendfile() call in case that the attr_get()
...
fails in stat-cache-get-entry
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1386 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
d6bfa8aaa8
the patch attached to #119 was right. If we
...
have content on a HEAD request, take it as the
Content-Length and discard the content (as it is
a HEAD request)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1385 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
b4778f8e6d
fixed writev() on FreeBSD 4.x and older (FreeBSD-port: PR103758)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1383 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
7a220fceb4
don't force a Content-Length header in HEAD requests ( #119 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1382 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
636c890721
no one really liked this warning :(
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1381 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
e49da67a47
only set the etag if we have one
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1380 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
b6ee10916c
mkcol/mkdir in mod_webdav now honors the umask aswell.
...
fixes [#884 ]
* src/mod_webdav.c
added define WEBDAV_FILE_MODE
added define WEBDAV_DIR_MODE
and replaced all hardcoded values in open/mkdir calls with
the defines.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1379 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
41bcf415c4
added content-type to the .stat() and decoded the st_mode
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1378 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
bf0f7832c1
added lighty.stat() which uses the stat-cache to reduce the number of syscalls
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1377 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
0780de8bfa
added the original URI, before the rewrite, to the env.
...
the orig-uri is forwarded as REQUEST_URI to the *CGI backends
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1376 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
ba52eb0e41
disable chunked encoding header on a HEAD request
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1375 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago