From 9ba1596c460df00569612909a6bb4d7fa7f25844 Mon Sep 17 00:00:00 2001
From: Sergey Lyubka <valenok@gmail.com>
Date: Wed, 29 Jan 2014 01:24:21 +0000
Subject: [PATCH] Closing connection after mg_send_digest_auth()

---
 mongoose.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mongoose.c b/mongoose.c
index ab80a1f16..44586e824 100644
--- a/mongoose.c
+++ b/mongoose.c
@@ -2698,6 +2698,7 @@ void mg_send_digest_auth_request(struct mg_connection *c) {
             "realm=\"%s\", nonce=\"%lu\"\r\n\r\n",
             conn->server->config_options[AUTH_DOMAIN],
             (unsigned long) time(NULL));
+  close_local_endpoint(conn);
 }
 
 // Use the global passwords file, if specified by auth_gpass option,
-- 
GitLab