mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
Closing connection after mg_send_digest_auth()
This commit is contained in:
1 parent
de509ae952
commit
9ba1596c46
1 file changed
+1
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user