Browse Source

accept no-error as return for the last xml-chunk

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@824 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.8
Jan Kneschke 17 years ago
parent
commit
f9cc749a8f
  1. 7
      src/mod_webdav.c

7
src/mod_webdav.c

@ -954,8 +954,13 @@ static int webdav_parse_chunkqueue(server *srv, connection *con, plugin_data *p,
}
if (XML_ERR_DOCUMENT_END != (err = xmlParseChunk(ctxt, 0, 0, 1))) {
switch ((err = xmlParseChunk(ctxt, 0, 0, 1))) {
case XML_ERR_DOCUMENT_END:
case XML_ERR_OK:
break;
default:
log_error_write(srv, __FILE__, __LINE__, "sd", "xmlParseChunk failed at final packet:", err);
break;
}
xml = ctxt->myDoc;

Loading…
Cancel
Save