Don't overwrite 401 (auth required) with 501 (unknown method) (fixes #2341)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2804 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
e05f1b3eec
commit
3518ab60ed
1
NEWS
1
NEWS
|
@ -8,6 +8,7 @@ NEWS
|
|||
* Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems.
|
||||
* [ssl] fix build errors when Elliptic-Curve Diffie-Hellman is disabled
|
||||
* Add static-file.disable-pathinfo option to prevent handling of urls like .../secret.php/image.jpg as static file
|
||||
* Don't overwrite 401 (auth required) with 501 (unknown method) (fixes #2341)
|
||||
|
||||
- 1.4.29 - 2011-07-03
|
||||
* Fix mod_proxy waiting for response even if content-length is 0 (fixes #2259)
|
||||
|
|
|
@ -445,6 +445,7 @@ static int connection_handle_write_prepare(server *srv, connection *con) {
|
|||
default:
|
||||
switch(con->http_status) {
|
||||
case 400: /* bad request */
|
||||
case 401: /* authorization required */
|
||||
case 414: /* overload request header */
|
||||
case 505: /* unknown protocol */
|
||||
case 207: /* this was webdav */
|
||||
|
|
Loading…
Reference in New Issue