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
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
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
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
Marcus Rückert
4a609547a0
r1435@h2o: darix | 2006-11-10 18:25:42 +0100
...
"www.example.com." is equivalent to "www.example.com".
The trailing dot just tells the resolver to script the searchlist.
If we want to match the hostname for conditionals/mod*vhost,
we need to strip it.
* src/request.c: (request_check_hostname) Decrement host_len to skip
the trailing dot.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1406 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
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
17 years ago
Jan Kneschke
0b8de4b3ec
allow leading zeros in HTTP/01.01 ( fixes #542 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1025 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
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
18 years ago
Jan Kneschke
24ff4eb0ab
only load reasons for broken HTTP headers on request
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@980 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c6273f69a8
fixed indention
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@972 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0ef0742654
added a comment what to do before we have Expect: support
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@920 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
28db0418f2
MSIE sends Content-Length: 0 for OPTIONS requests, tolerate that
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@911 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
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
18 years ago
Jan Kneschke
ac7db634f6
detect empty URIs in requests as bad request, status 400
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@773 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c440468249
max-request-size was not respected since a long time
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@736 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
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
18 years ago
Jan Kneschke
e6c1e139e2
ah, don't care about the valid chars, control-chars, 127 and 255 are out
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@433 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
533e8047c0
improve readability for error in request header error ( fix #101 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@379 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
acfe706d73
Looks like the '+' -> ' ' transformation is only applied in the ?query part and not the rel-path.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@366 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3caa67a131
added | to the non-rfc characters in URI
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@71 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
0f779ce2f9
fixed #25 by setting all duplicates to 400
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@60 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
6a822b673e
Don't use broken http_host pointer for debugging.
...
This circumvents a crash but is not a final fix
as the reason fo the crash hasn't been found yet.
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@48 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
44997909b1
fix segfault in log_error_write if host is empty
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@38 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
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
19 years ago