src/server/webdav/multistatus.c

changeset 513
9a49c245a49c
parent 510
379fe1856800
--- a/src/server/webdav/multistatus.c	Tue Sep 12 18:08:11 2023 +0200
+++ b/src/server/webdav/multistatus.c	Sat Mar 30 12:35:09 2024 +0100
@@ -348,7 +348,9 @@
     
     // start http response
     protocol_status(ms->sn, ms->rq, 207, NULL);
-    protocol_start_response(ms->sn, ms->rq);
+    if(protocol_start_response(ms->sn, ms->rq)) {
+        return 1;
+    }
     
     char buffer[MULTISTATUS_BUFFER_LENGTH];
     // create a writer, that flushes the buffer when it is filled

mercurial