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
2007-08-17 21:04:20 +00:00
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
2007-08-17 15:37:45 +00:00
Jan Kneschke
3bc2da57d3
fixed number of skipped tests
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1923 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17 15:36:00 +00:00
Elan Ruusamäe
4ac0e2dd1b
- update NEWS
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1922 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17 06:44:03 +00:00
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
2007-08-17 06:37:17 +00:00
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
2007-08-15 12:12:13 +00:00
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
2007-08-15 11:16:53 +00:00
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
2007-08-15 09:49:15 +00:00
Marcus Rückert
777c383e58
- cleanup of the default config which includes a fix for ( #1242 )
...
- make paths more LSB alike
- added default mime type
- use example.org
- use new name of the php fastcgi binary
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1907 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-14 19:05:57 +00:00
Marcus Rückert
ceef761f69
- bump version number
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1906 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-14 18:50:12 +00:00
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
2007-08-14 13:25:04 +00:00
Marcus Rückert
bafcebe06d
- check the content for the send404 case too
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1903 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-14 13:12:10 +00:00
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
2007-08-13 15:44:15 +00:00
Marcus Rückert
2573648c4b
- added testcase for #948
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1901 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-13 14:34:50 +00:00
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
2007-08-13 11:26:06 +00:00
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
2007-08-13 11:15:22 +00:00
Marcus Rückert
029d32039c
- fixed 404 testsuite
...
- added optional fastcgi handler
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1898 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-13 11:09:11 +00:00
Marcus Rückert
984f5caf57
make the cgi executable
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1895 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-12 21:06:07 +00:00
Marcus Rückert
420abdb295
- added test cases for 404 handler
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1894 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-12 21:04:14 +00:00
Marcus Rückert
58ea3c14c5
- make the test more portable
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1892 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-12 19:24:33 +00:00
Marcus Rückert
01fab66c18
- added test for the location crash
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1887 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-12 17:52:03 +00:00
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
2007-07-17 18:02:33 +00:00
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
2007-07-03 18:47:00 +00:00
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
2007-07-03 17:16:21 +00:00
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
2007-07-02 15:07:27 +00:00
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
2007-06-15 16:22:30 +00:00
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
2007-06-15 15:51:16 +00:00
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
2007-06-15 15:30:34 +00:00
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
2007-06-15 15:04:56 +00:00
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
2007-06-15 14:46:17 +00:00
Jan Kneschke
8b06b122b1
fixed by 1232, not 1209
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1870 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-06-15 14:15:37 +00:00
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
2007-06-15 14:08:32 +00:00
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
2007-05-25 14:23:46 +00:00
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
2007-05-25 12:56:46 +00:00
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
2007-05-09 15:05:17 +00:00
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
2007-05-08 16:29:34 +00:00
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
2007-05-03 22:08:59 +00:00
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
2007-04-17 22:27:37 +00:00
Elan Ruusamäe
374741e21c
- revert. already there
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1778 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-17 05:58:15 +00:00
Elan Ruusamäe
0f8836c082
- CVE references
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1777 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-17 05:56:22 +00:00
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
2007-04-13 20:47:40 +00:00
Marcus Rückert
5b22a9e910
- prepare 1.4.15
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1766 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-13 20:41:14 +00:00
Marcus Rückert
ac959d3374
- updated NEWS file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1764 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-13 15:24:09 +00:00
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
2007-04-10 17:08:11 +00:00
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
2007-04-10 16:15:21 +00:00
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
2007-04-10 15:04:46 +00:00
Marcus Rückert
63344d9c7e
- updated NEWS file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1742 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 13:32:24 +00:00
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
2007-04-10 13:04:14 +00:00
Jan Kneschke
dadc835cd4
forgot the comment on #1076
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1740 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 11:44:03 +00:00
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
2007-04-10 11:40:34 +00:00