From 37503c78c8c5930bac7d65f0f1fd987d86638a7e Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sun, 11 Mar 2012 21:52:12 +0000 Subject: [PATCH] setting conn->must_close = 1; in handle_propfind() --- mongoose.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mongoose.c b/mongoose.c index 5812375c..8f094d46 100644 --- a/mongoose.c +++ b/mongoose.c @@ -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"