Breaks out of the loop if the SCTP socket is closed before trying to receive from the ICE socket.
This potentially avoids an infinite loop, if the ICE socket
implementation is faulty and returns something (e.g. a packet with
length 0) when the socket is closed. More importantly, it makes it
obvious to anyone reading the code that such a scenario is not possible.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Breaks out of the loop if the SCTP socket is closed before trying to
-- File Changes --
M src/main/java/org/jitsi/videobridge/SctpConnection.java (6)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: