[sr-dev] [kamailio/kamailio] SIP keepalives using CRLF do not work with websocket client (#810)
André Freitas
notifications at github.com
Fri Oct 7 18:21:28 CEST 2016
@miconda Okay there is one issue in that patch, it is that the server is checking only for a single CRLF incoming, while it should check for double. I've changed it to
```
if(frame.payload_len==CRLF_LEN*2
&& strncmp(frame.payload_data, "\r\n\r\n", CRLF_LEN*2)==0)
```
And it works with SIP.js now.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/810#issuecomment-252296572
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161007/f442937c/attachment.html>
More information about the sr-dev
mailing list