Can you add a https file server example?
Hey.
I've been looking for a c/c++ library that can be used to make a https web server.
How do I combine the SSL and http server examples so that I can make an https server?
Best,
Rick
Yes I can. I need some time to work on that cause I am in Thailand spending great time with the the ladies. Hold tight there. Will get back on this soon. Thanks Steve
On Mon, Dec 10, 2018, 11:09 AM ClemsonCoder <[email protected] wrote:
Hey.
I've been looking for a c/c++ library that can be used to make a https web server.
How do I combine the SSL and http server examples so that I can make an https server?
Best,
Cpluscity
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wolkykim/libasyncd/issues/35, or mute the thread https://github.com/notifications/unsubscribe-auth/AGioMThcURFMyGcKavn2yn5C9DdbkcS1ks5u3d6GgaJpZM4ZKnCI .
ad_server_t *server_tls = ad_server_new (); ad_server_set_option (server_tls, "server.port", port); ad_server_set_option (server_tls, "server.addr", IP); // ad_server_set_option (server_tls, "server.thread", "1"); if needed as separate thread ad_server_set_ssl_ctx(server_tls, ad_server_ssl_ctx_create_simple(cert file .pem , key file .pem ); ad_server_register_hook(server_tls, ad_http_handler, NULL); ad_server_start(server_tls);
this shd do the job..