Marcus Rückert
8cd1471cb3
- white space cleanup part 2 this time 1.4 ;)
...
i hope it helps with merging stuff back to 1.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 13:26:23 +00:00
Jan Kneschke
d766ee99ce
allocate a byte more, to match the ioctl() report
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1365 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 07:00:35 +00:00
Marcus Rückert
fe77777647
- dont use int for a enum type
...
- handle default case in connection type switch
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1360 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:18:06 +00:00
Jan Kneschke
4581a73ab8
fixed off-by-one bug when the second CRLF after a HTTP-header is in a second read() call
...
- fixes #876
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1352 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 13:33:35 +00:00
Jan Kneschke
a59faafd7d
fixed the 501 code for a LOCK request
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1345 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-28 07:25:38 +00:00
Jan Kneschke
dd35c9101c
fixed connections falling back to non-ssl when keep-alive + ssl was used
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1334 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 07:04:02 +00:00
Jan Kneschke
6ae9b8f58e
removed buggy optimization
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1330 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 13:32:29 +00:00
Jan Kneschke
a3542afd31
handle connection-close after after a broken header in keep-alive like
...
{{{
GET / HTTP/1.1
Host: foo
GET
}}}
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1328 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 12:51:14 +00:00
Jan Kneschke
e9cc9ed36c
fixed SSL_ERROR_WANT_READ handling
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1325 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 08:04:32 +00:00
Jan Kneschke
9c773d9f7d
fixed SSL + POST on Firefox
...
- moved the SSL-read code into a seperate function
- rewrote the "optimized" and ugly CRLF CRLF code
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1317 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-20 14:03:55 +00:00
Jan Kneschke
00a5770e2f
fixed "Software caused connection abort" messages on FreeBSD
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1311 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-16 11:28:28 +00:00
Jan Kneschke
48ca389d89
- use a big SSL_read buffer which can read at least 16k + the pending bytes
...
- reuse the last read-buffer after a SSL_ERROR_WANT_READ
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1274 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-01 09:53:44 +00:00
Jan Kneschke
66de89f0f8
432 is used by webdav for locked
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1027 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-03-06 00:47:29 +00:00
Jan Kneschke
c76b19673a
allow proxy to svn-apache do a commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1015 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-03-02 23:31:40 +00:00
Jan Kneschke
0892b04865
Status: 301 might have a body with a message (mod_proxy via apache)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@985 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-02-08 12:31:09 +00:00
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