Peter Stuge wrote:
What is errno set to when this failure happens?
How to handle read() failures should probably depend on exactly what
the failure is, ie. might need testing errno for known benign values
and letting anything else cause a more severe error which bubbles up
the stack.
i did some tests. it actually happens when the remote peer has not yet
bound the RTP socket, so the local peer receives a "connection refused".
i updated the patch, see attachment.