libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] socket_context not set (libmicrohttpd-0.9.50)


From: Miguel Sancho
Subject: [libmicrohttpd] socket_context not set (libmicrohttpd-0.9.50)
Date: Thu, 1 Jun 2017 17:11:02 +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:
const MHD_ConnectionInfo *connectionInfo =
          MHD_get_connection_info(connection,MHD_CONNECTION_INFO_SOCKET_CONTEXT);
if (*(connectionInfo->socket_context == NULL))
{
printf("ERROR\n");
}

Any idea?
Thanks
Miguel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]