Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set POLLRDHUP on Linux when polling rtpproxy's socket to drain
any unclaimed data. This seems to be necessary on TCP sockets otherwise poll() appears to hang indefinitely if rtpproxy has been terminated despite timeout being set to 0 (i.e. don't block). With this flag set the disconnect is properly detected and socket is re-connected after configured timeout.
- Loading branch information