mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
setting conn->must_close = 1; in handle_propfind()
This commit is contained in:
1 parent
83447fb6e5
commit
37503c78c8
1 file changed
+1
@@ -3307,6 +3307,7 @@ static void handle_propfind(struct mg_connection *conn, const char* path,
|
||||
struct mgstat* st) {
|
||||
const char *depth = mg_get_header(conn, "Depth");
|
||||
|
||||
conn->must_close = 1;
|
||||
conn->request_info.status_code = 207;
|
||||
mg_printf(conn, "HTTP/1.1 207 Multi-Status\r\n"
|
||||
"Connection: close\r\n"
|
||||
|
||||
Reference in new issue
Block a user