< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Patch for rutil


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.

Attachment: Udp.cxx.patch
Description: Binary data