diff options
author | Dmitry Ilyin <dima@doty.ru> | 2022-10-12 14:13:44 +0300 |
---|---|---|
committer | Dmitry Ilyin <dima@doty.ru> | 2022-10-12 14:13:44 +0300 |
commit | c2ecb4acb52c9f9b2e77af86a38a9b36ee7d51e6 (patch) | |
tree | 245ad1367f36a41a745527f608c57cdd080006ec /include | |
parent | 8f47d8de281b877450474734594fdc0a60ee35d1 (diff) | |
download | libevent-c2ecb4acb52c9f9b2e77af86a38a9b36ee7d51e6.tar.gz |
Add locks for server WS, fixes #1357
Diffstat (limited to 'include')
-rw-r--r-- | include/event2/ws.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/event2/ws.h b/include/event2/ws.h index 0816a126..11fc2e58 100644 --- a/include/event2/ws.h +++ b/include/event2/ws.h @@ -28,7 +28,7 @@ typedef void (*ws_on_close_cb)(struct evws_connection *, void *); */ EVENT2_EXPORT_SYMBOL struct evws_connection *evws_new_session( - struct evhttp_request *req, ws_on_msg_cb, void *arg); + struct evhttp_request *req, ws_on_msg_cb, void *arg, int options); /** Sends data over WebSocket connection */ EVENT2_EXPORT_SYMBOL |