That's right, all you need to do is to have set "ssl_certificate"  in
shttpd_init,
and make sure to append 's' letter to the "listen_ports". Like that:

        ctx = shttpd_init(NULL,
                "listen_ports", "8080,8081s",
                "ssl_certificate", "shttpd.pem", NULL);

8081 port then will do SSL.
Modify examples/example.c to see how it works, but use CVS version of
example.c

sergey
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general

Reply via email to