Commit Graph

1206 Commits (3d208504513664c67f6e96fb953e4df3a67bd64f)
 

Author SHA1 Message Date
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
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
16 years ago
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
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 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
16 years ago
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
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 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
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 2573648c4b - added testcase for #948
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1901 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
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
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 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
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
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
16 years ago
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
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 5b22a9e910 - prepare 1.4.15
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1766 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
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
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 63344d9c7e - updated NEWS file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1742 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 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
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