diff -r c3cad8f51a24 -r fc021bd576d4 src/server/webdav/multistatus.c --- a/src/server/webdav/multistatus.c Mon Apr 25 13:54:27 2022 +0200 +++ b/src/server/webdav/multistatus.c Mon Apr 25 18:30:33 2022 +0200 @@ -258,7 +258,9 @@ int multistatus_send(Multistatus *ms, SYS_NETFD net) { // make sure every resource is closed if(ms->current && !ms->current->resource.isclosed) { - msresponse_close((WebdavResource*)ms->current); + if(msresponse_close((WebdavResource*)ms->current)) { + return 1; + } } // start http response