Mon, 02 May 2022 20:25:40 +0200
send response in webdav_put
src/server/webdav/webdav.c | file | annotate | diff | comparison | revisions |
--- a/src/server/webdav/webdav.c Mon May 02 20:22:16 2022 +0200 +++ b/src/server/webdav/webdav.c Mon May 02 20:25:40 2022 +0200 @@ -659,10 +659,10 @@ // send response if(ret == REQ_PROCEED) { - protocol_status(op->sn, op->rq, 204, NULL); - protocol_start_response(op->sn, op->rq); + protocol_status(sn, rq, 204, NULL); + protocol_start_response(sn, rq); } else { - protocol_status(op->sn, op->rq, 204, NULL); + protocol_status(sn, rq, 204, NULL); } return ret; @@ -724,6 +724,7 @@ int status = create_file ? PROTOCOL_CREATED : PROTOCOL_NO_CONTENT; protocol_status(sn, rq, status, NULL); + protocol_start_response(sn, rq); return REQ_PROCEED; }