mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-28 04:09:31 +03:00
do not call notify closed twice
This commit is contained in:
@@ -1556,11 +1556,6 @@ exit:
|
||||
con->response = NULL;
|
||||
}
|
||||
|
||||
if (NULL != daemon->notify_connection)
|
||||
con->daemon->notify_connection (daemon->notify_connection_cls,
|
||||
con,
|
||||
&con->socket_context,
|
||||
MHD_CONNECTION_NOTIFY_CLOSED);
|
||||
if (MHD_INVALID_SOCKET != con->socket_fd)
|
||||
{
|
||||
shutdown (con->socket_fd,
|
||||
|
||||
Reference in New Issue
Block a user