|
From: | Miguel Sancho |
Subject: | Re: [libmicrohttpd] socket_context not set (libmicrohttpd-0.9.50) |
Date: | Fri, 2 Jun 2017 16:23:29 +0200 |
Hi,finding the following issue (libmicrohttpd-0.9.50),
I would like to check whether this is already known.
Seems that socket_context is not set in #MHD_AccessHandlerCallback.Code sample:
- In #MHD_NotifyConnectionCallback (STARTED), **socket_context object is created
- In #MHD_AccessHandlerCallback, *socket_context is a NULL pointer
- In #MHD_NotifyConnectionCallback (STARTED), **socket_context object is created
const MHD_ConnectionInfo *connectionInfo =Any idea?
MHD_get_connection_info(connection,MHD_CONNECTION_ INFO_SOCKET_CONTEXT);
if (*(connectionInfo->socket_context == NULL))
{
printf("ERROR\n");
}ThanksMiguel
[Prev in Thread] | Current Thread | [Next in Thread] |