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