From c2ecb4acb52c9f9b2e77af86a38a9b36ee7d51e6 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin Date: Wed, 12 Oct 2022 14:13:44 +0300 Subject: Add locks for server WS, fixes #1357 --- test/regress_ws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/regress_ws.c b/test/regress_ws.c index 06c3f5f0..29850be8 100644 --- a/test/regress_ws.c +++ b/test/regress_ws.c @@ -115,7 +115,7 @@ http_on_ws_cb(struct evhttp_request *req, void *arg) struct evws_connection *evws; const char *hello = "Server: hello"; - evws = evws_new_session(req, on_ws_msg_cb, (void *)0xDEADBEEF); + evws = evws_new_session(req, on_ws_msg_cb, (void *)0xDEADBEEF, 0); if (!evws) return; test_ok++; -- cgit v1.2.1