Skip to content

Commit

Permalink
C4CurlSystem: Pass CURL_CSELECT_ERR for POLLERR
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgen301 committed Sep 30, 2023
1 parent 409db11 commit ee0fa40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/C4CurlSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ C4Task::Hot<void, C4Task::PromiseTraitsNoExcept> C4CurlSystem::Execute()
eventBitmask |= CURL_CSELECT_OUT;
}

if (event.revents & POLLERR)
{
eventBitmask |= CURL_CSELECT_ERR;
}

curl_multi_socket_action(multiHandle.get(), event.fd, eventBitmask, &running);
}
}
Expand Down

0 comments on commit ee0fa40

Please sign in to comment.