[Libwebsockets] how do I detect if a given connection is SSL if LWS_SERVER_OPTION_ALLOW_NON_SSL_ON_SSL_PORT is used?

Michael Haberler mail17 at mah.priv.at
Fri Aug 15 23:23:20 CEST 2014

the way I read it LWS_SERVER_OPTION_ALLOW_NON_SSL_ON_SSL_PORT would allow both ws: and wss: (and http+https)

if so, I'd need to tell those apart per-connection; how would I test for this?


- Michael

More information about the Libwebsockets mailing list