Commit 9ba1596c authored by Sergey Lyubka's avatar Sergey Lyubka

Closing connection after mg_send_digest_auth()

parent de509ae9
...@@ -2698,6 +2698,7 @@ void mg_send_digest_auth_request(struct mg_connection *c) { ...@@ -2698,6 +2698,7 @@ void mg_send_digest_auth_request(struct mg_connection *c) {
"realm=\"%s\", nonce=\"%lu\"\r\n\r\n", "realm=\"%s\", nonce=\"%lu\"\r\n\r\n",
conn->server->config_options[AUTH_DOMAIN], conn->server->config_options[AUTH_DOMAIN],
(unsigned long) time(NULL)); (unsigned long) time(NULL));
close_local_endpoint(conn);
} }
// Use the global passwords file, if specified by auth_gpass option, // Use the global passwords file, if specified by auth_gpass option,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment