libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Does https mode support http access?


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Does https mode support http access?
Date: Fri, 05 Oct 2012 12:42:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

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

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