Jan Kneschke
f27b8d0168
fixed 'return 414 on overlong request-headers'
...
- 501 was returned if a unknown Method was used
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@927 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-08 18:41:08 +00:00
Jan Kneschke
580823f791
forbid Content-Length for GET, HEAD or OPTIONS requests
...
allow duplicate If-Modified-Since headers if they are equal
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@907 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-03 13:59:46 +00:00
Jan Kneschke
1ea90be00a
fixed counting of unused blocks (sandy <sandy@meebo.com>)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@893 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-12-20 14:01:49 +00:00
Jan Kneschke
11c3722432
set content-type for errorfiles ( fixed #383 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@874 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-22 11:23:03 +00:00
Jan Kneschke
93693b11e0
- don't duplicate Server and Date Header
...
- strip Connection header from backend response if we are proxy
- trust Connection-Length if we are proxy
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@862 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-18 12:38:18 +00:00
Jan Kneschke
a4be52451f
more unsigned/sign compare fixes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@861 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-18 12:00:48 +00:00
Jan Kneschke
aa7e634b75
fixed assertion if a read() returned with EGAIN in POST-read
...
and fixed pipelining + keep-alive
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@854 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-17 14:08:58 +00:00
Jan Kneschke
0c6af9ae46
improved warning-message
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@850 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-15 10:58:39 +00:00
Jan Kneschke
27a113bc20
cached FDs for the uploading chunk
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@839 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-11 12:46:06 +00:00
Jan Kneschke
95132d93c8
fixed warnings about unused vars and unhandled enum-values in switch()
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@821 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-07 13:13:50 +00:00
Jan Kneschke
9404220490
chunkqueue can get a list of tempdirs which are tried to open a file at
...
server.upload-dirs is the option in the configfile
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@812 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-01 07:50:08 +00:00
Jan Kneschke
0b3cc19a7f
fixed assertion on failure of mkstemp or write on post-data
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@802 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-31 08:14:02 +00:00
Jan Kneschke
c949273aa4
clean the error-queue is case we have a read/write error
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@789 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-15 14:29:51 +00:00
Jan Kneschke
1c09f28447
removed con->request.content (mem-buffer) by a chunk-queue
...
which can buffer to tempfiles of the content is to large
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@741 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:56:39 +00:00
Jan Kneschke
89ff779a78
302 is used for Location: redirects in SCGI, FastCGI and CGI which might contain content
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@721 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-21 10:45:26 +00:00
Xuefer
14754f33f4
fix and add testcase for #255
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@716 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-20 05:54:19 +00:00
Jan Kneschke
63dceeb0c6
open files only once for chunk, cache mmap and let the chunk itself close the fd ( fixed #261 , #257 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@703 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 08:00:33 +00:00
Jan Kneschke
326fa40875
compail about the right plugin and don't segfault
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@680 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:07:00 +00:00
Jan Kneschke
3553b694d0
don't fetch the error-msg a second time
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@675 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 10:44:44 +00:00
Jan Kneschke
e47ae00886
let kqueue startup after daemonize is done
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@650 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-30 10:42:06 +00:00
Jan Kneschke
c1ac34063e
reset and free dst_addr_buf
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@624 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-25 20:09:46 +00:00
Jan Kneschke
e93ac5407b
if the write is waiting, break the loop.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@621 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-25 06:21:32 +00:00
Jan Kneschke
30e094f8d2
complain about the right plugin not cleaning up
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@614 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-23 10:42:26 +00:00
Jan Kneschke
fddcf8379f
don't set content-length if chunked encoding is used.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@597 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 17:52:06 +00:00
Jan Kneschke
163c25a2a9
added MOVE, COPY, PROPPATCH and nearly complete PROPFIND (Level 1-3 of litmus passed)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@593 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-20 19:10:44 +00:00
Jan Kneschke
e37805c9b4
added DELETE and MKCOL to mod_webdav
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@584 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 13:42:01 +00:00
Jan Kneschke
a31377ace4
fixed handling of OPTIONS * and /
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@579 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 08:37:52 +00:00
Jan Kneschke
3be06bb84c
added read-only WebDAV support
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@577 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 00:05:52 +00:00
Jan Kneschke
d8394f7f2e
moved code to mod_staticfile, mod_dirlisting and mod_indexfile
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@541 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-15 09:55:23 +00:00
Jan Kneschke
75c3a8393a
added include_shell option to configfiles (merged the rest of the trunk changesets)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@530 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-09 06:42:33 +00:00
Jan Kneschke
360aba360f
allow _ in env. and var. and optimized matching of conditions
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@529 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 17:25:55 +00:00
Jan Kneschke
8073d5fe9f
added nested conditionals (merged [298])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@519 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 13:48:33 +00:00
Jan Kneschke
6adaad5458
let mod_alias handle directories and files (merged [284], [294])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@504 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 09:42:27 +00:00
Jan Kneschke
5e134da075
dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@502 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 08:22:06 +00:00
Jan Kneschke
81edb90eac
the error-handler defaults to 200 of error was handled successfully, fixes #168
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@489 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-31 10:43:47 +00:00
Jan Kneschke
7126a0f2bc
detect endless loops and kill them
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@470 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-23 20:42:34 +00:00
Jan Kneschke
0c9b4d42ff
made errorfile-prefix conditional
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@446 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-15 13:26:16 +00:00
Jan Kneschke
e5a1b1eb4a
make sure we mark the connection as SSL (important for redirects later)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@367 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-05 08:34:42 +00:00
Jan Kneschke
54bda6d388
get usefull error-msg on SSL_read + SSL_ERROR_SYSCALL
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@95 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-05 16:30:02 +00:00
Jan Kneschke
853b4f5b06
don't touch the exit-conditions for the loop directly (reverting a this part of one of the last changesets)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@73 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 11:31:21 +00:00
Jan Kneschke
7725e92ff6
rewrote the event and error handling with the help of the fcgi-responder.c from the tests.
...
fixed #38 and other issues this way
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@63 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 16:54:47 +00:00
Jan Kneschke
a6dfdad19f
disable dump_packet
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@59 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 10:53:52 +00:00
Jan Kneschke
d26f6893d9
moved external functions to *-glue.c
...
this simplifies the linkage on windows and macosx
which can't reference the binary for symbols
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@49 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 08:42:47 +00:00
Jan Kneschke
bcdc6a3bbc
moved everything below trunk/ and added branches/ and tags/
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 14:27:00 +00:00