mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
add connection: close to 401 replies (experimental, under review)
This commit is contained in:
@@ -1414,6 +1414,12 @@ MHD_queue_auth_fail_response2 (struct MHD_Connection *connection,
|
||||
header);
|
||||
else
|
||||
ret = MHD_NO;
|
||||
#if 0
|
||||
if ( (MHD_YES == ret) && (AND in state : 100 continue aborting ...))
|
||||
ret = MHD_add_response_header (response,
|
||||
MHD_HTTP_HEADER_CONNECTION,
|
||||
"close");
|
||||
#endif
|
||||
free (header);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user