[reSIProcate] Patch for rutil

Karlsson boost.regex at gmail.com
Tue Sep 24 21:41:09 CDT 2013


I watch a bug/defect in the rutil/stun, with currently code, the recvfrom
function which in the udp.cxx will be block then cause the application
freeze  if the stun server IP/domain is not live(not respond).  I have
created a patch which is set the socket timeout to 600 ms, and it will try
three times if failed, just for reference.

PS: this patch is works very well for me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20130925/3269ee0c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Udp.cxx.patch
Type: application/octet-stream
Size: 2784 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20130925/3269ee0c/attachment.obj>


More information about the resiprocate-devel mailing list