From a59faafd7dc60767930f7f75704001ad6d8e73f6 Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Thu, 28 Sep 2006 07:25:38 +0000 Subject: [PATCH] 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 --- src/connections.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/connections.c b/src/connections.c index 4e5a4fb6..9a42c84b 100644 --- a/src/connections.c +++ b/src/connections.c @@ -385,6 +385,8 @@ static int connection_handle_write_prepare(server *srv, connection *con) { case HTTP_METHOD_MOVE: case HTTP_METHOD_PROPFIND: case HTTP_METHOD_PROPPATCH: + case HTTP_METHOD_LOCK: + case HTTP_METHOD_UNLOCK: break; case HTTP_METHOD_OPTIONS: /* @@ -427,6 +429,7 @@ static int connection_handle_write_prepare(server *srv, connection *con) { case 403: case 404: case 408: + case 409: case 411: case 416: case 423: