libmicrohttpd
[Top][All Lists]
Advanced

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

[libmicrohttpd] MHD_start_daemon with MHD_USE_SSL returns NULL


From: DJM-Avalesta
Subject: [libmicrohttpd] MHD_start_daemon with MHD_USE_SSL returns NULL
Date: Fri, 04 Dec 2020 15:48:55 +0000
User-agent: Roundcube Webmail/1.4-rc2

Hi

I recently upgraded from libmicrohttpd 0.9.24 to version 0.9.71. Now I find that the following call to MHD_start_daemon (using SSL for HTTPS) no longer works, it just returns NULL.

m_pHttpd = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_SSL | MHD_USE_DEBUG,
port, NULL, NULL,
CHttpWrapper::http_access_callback, (void *)g_StreamManagerArray,
MHD_OPTION_HTTPS_MEM_KEY, key_pem,
MHD_OPTION_HTTPS_MEM_CERT, cert_pem,
MHD_OPTION_CONNECTION_TIMEOUT, HTTP_CLIENT_TIMEOUT,
MHD_OPTION_NOTIFY_COMPLETED, CHttpWrapper::http_RequestCompletedCallback, NULL,
MHD_OPTION_CONNECTION_LIMIT, 30,
MHD_OPTION_END);

My other similar calls to MHD_start_daemon without SSL still work fine.

Could you tell me what has changed to stop this working?

Best regards

David


reply via email to

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