diff options
author | Jan Kneschke <jan@kneschke.de> | 2006-03-02 23:31:40 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2006-03-02 23:31:40 +0000 |
commit | 6d07240657d65c683390083a59910619fe1844e0 (patch) | |
tree | 140b6015253bac1a4a02d399308204e7f2464b47 /src/mod_webdav.c | |
parent | 41a99557de556e1a932d609caec8ad193b3e8d13 (diff) | |
download | lighttpd-git-6d07240657d65c683390083a59910619fe1844e0.tar.gz |
allow proxy to svn-apache do a commit
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1015 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_webdav.c')
-rw-r--r-- | src/mod_webdav.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mod_webdav.c b/src/mod_webdav.c index 3306c73a..c78e6096 100644 --- a/src/mod_webdav.c +++ b/src/mod_webdav.c @@ -1294,6 +1294,7 @@ URIHANDLER_FUNC(mod_webdav_subrequest_handler) { } } else { con->http_status = 201; + con->file_finished = 1; } return HANDLER_FINISHED; @@ -1390,6 +1391,7 @@ URIHANDLER_FUNC(mod_webdav_subrequest_handler) { chunk *c; con->http_status = 201; /* created */ + con->file_finished = 1; for (c = cq->first; c; c = cq->first) { int r = 0; @@ -1606,6 +1608,7 @@ URIHANDLER_FUNC(mod_webdav_subrequest_handler) { rmdir(con->physical.path->ptr); } con->http_status = 201; + con->file_finished = 1; } else { /* it is just a file, good */ int r; @@ -1625,6 +1628,7 @@ URIHANDLER_FUNC(mod_webdav_subrequest_handler) { if (-1 == r) { con->http_status = 201; /* we will create a new one */ + con->file_finished = 1; switch(errno) { case ENOTDIR: |