Optionally allow non-SSL connections on same port as SSL
[platform/upstream/libwebsockets.git] / lib / private-libwebsockets.h
index 12b8d5a..ea68f4b 100644 (file)
@@ -289,6 +289,7 @@ struct libwebsocket_context {
 
 #ifdef LWS_OPENSSL_SUPPORT
        int use_ssl;
+       int allow_non_ssl_on_ssl_port;
        SSL_CTX *ssl_ctx;
        SSL_CTX *ssl_client_ctx;
 #endif