On 10/05/2012 11:04 AM, Chunxi Chen wrote:
> Dear Sir/Madam,
>
> I want to use libmicrohttpd in my project. But I have a doubt: if I
> run the server in the HTTPS mode, does it still support HTTP access? I
> really appreciate it if you could reply me. Many thanks.
>
> Best regards
> Chunxi
If you want to offer both HTTP and HTTPS, you simply need to call
MHD_start_daemon twice (once with HTTP options, and once with HTTPS
options). Naturally, other calls on the 'daemon' object may also need to
be done twice.

But yes, you can run both at the same time --- or also run only HTTPS if
you want.

Happy hacking!

Christian

Reply via email to