Skip to content

Commit

Permalink
[Server] Avoid misleading error message due to queued but delayed event.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 authored and simonmichal committed May 2, 2022
1 parent 1f71c5d commit ac6e37f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Xrd/XrdPollE.icc
Expand Up @@ -249,7 +249,8 @@ void XrdPollE::Start(XrdSysSemaphore *syncsem, int &retcode)
jfirst = jlast = 0; num2sched = 0;
for (i = 0; i < numpolled; i++)
{if ((pInfo = (XrdPollInfo *)PollTab[i].data.ptr))
{if (!(pInfo->isEnabled)) remFD(*pInfo, PollTab[i].events);
{if (!(pInfo->isEnabled) && pInfo->FD >= 0)
remFD(*pInfo, PollTab[i].events);
else {pInfo->isEnabled = 0;
if (!(PollTab[i].events & pollOK)
|| (PollTab[i].events & POLLRDHUP))
Expand Down

0 comments on commit ac6e37f

Please sign in to comment.