This happens because of race conditions with websocket state.
[ws_frame.c:816](https://github.com/kamailio/kamailio/blob/ac4c2d4579f121395876de2cc6f7649f3cb2fba7/src/modules/websocket/ws_frame.c#L816)
 - setting socked state `WS_S_CLOSING`
[ws_conn.c:703](https://github.com/kamailio/kamailio/blob/master/src/modules/websocket/ws_conn.c#L703-L704)
 - setting socket state `WS_S_REMOVING` and updates `rmticks` value.

I will create a pull request to break race conditions.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3278#issuecomment-1383141701
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3278/[email protected]>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to