do not call notify closed twice

This commit is contained in:
Christian Grothoff
2016-10-17 14:07:24 +02:00
parent e3aee92d56
commit 9b4146730b
-5
View File
@@ -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,