bel пре 10 година
родитељ
комит
5c94f638a7
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      test/public_server.c

+ 5 - 0
test/public_server.c

@@ -1048,8 +1048,13 @@ START_TEST(test_request_handlers)
 	/* Connect client 3 */
 	ws_client3_conn =
 	    mg_connect_websocket_client("localhost",
+#if defined(NO_SSL)
 	                                ipv4_port,
 	                                0,
+#else
+	                                ipv4s_port,
+	                                1,
+#endif
 	                                ebuf,
 	                                sizeof(ebuf),
 	                                "/websocket",