forked from mirrors/gecko-dev
Bug 1448846: Ignore POLLERR on UDP sockets. r=dragana
MozReview-Commit-ID: 1FxhHbH8Neg --HG-- extra : rebase_source : e50fbde7c3d52141dfb29a9805a00cec9be633ca
This commit is contained in:
parent
06d2e947d6
commit
721e2034d6
1 changed files with 1 additions and 1 deletions
|
|
@ -457,7 +457,7 @@ nsUDPSocket::OnSocketReady(PRFileDesc *fd, int16_t outFlags)
|
|||
NS_ASSERTION(mFD == fd, "wrong file descriptor");
|
||||
NS_ASSERTION(outFlags != -1, "unexpected timeout condition reached");
|
||||
|
||||
if (outFlags & (PR_POLL_ERR | PR_POLL_HUP | PR_POLL_NVAL))
|
||||
if (outFlags & (PR_POLL_HUP | PR_POLL_NVAL))
|
||||
{
|
||||
NS_WARNING("error polling on listening socket");
|
||||
mCondition = NS_ERROR_UNEXPECTED;
|
||||
|
|
|
|||
Loading…
Reference in a new issue