Browse Source

expect XML_ERR_DOCUMENT_END for the final packet

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@755 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.6
Jan Kneschke 16 years ago
parent
commit
ab522ec82a
  1. 2
      src/mod_webdav.c

2
src/mod_webdav.c

@ -942,7 +942,7 @@ static int webdav_parse_chunkqueue(server *srv, connection *con, chunkqueue *cq,
}
if (XML_ERR_OK != (err = xmlParseChunk(ctxt, 0, 0, 1))) {
if (XML_ERR_DOCUMENT_END != (err = xmlParseChunk(ctxt, 0, 0, 1))) {
log_error_write(srv, __FILE__, __LINE__, "sd", "xmlParseChunk failed at final packet:", err);
}

Loading…
Cancel
Save