uri processing reject paths not starting with slash
[platform/upstream/libwebsockets.git] / test-server / test-client.c
index 93c92aa..b35260d 100644 (file)
@@ -362,6 +362,9 @@ int main(int argc, char **argv)
        info.gid = -1;
        info.uid = -1;
 
+       if (use_ssl)
+               info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT;
+
        context = lws_create_context(&info);
        if (context == NULL) {
                fprintf(stderr, "Creating libwebsocket context failed\n");