Skip to content

Commit

Permalink
do not treat WSAECONNRESET as a fatal error (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtomilov authored and rndi committed Oct 11, 2018
1 parent 2a12191 commit 71e10a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion srtcore/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,6 @@ EReadStatus CChannel::recvfrom(sockaddr* addr, CPacket& packet) const
// These below errors are treated as "fatal", all others are treated as "again".
static const int fatals [] =
{
WSAECONNRESET,
WSAEFAULT,
WSAEINVAL,
WSAENETDOWN,
Expand Down

0 comments on commit 71e10a7

Please sign in to comment.