You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
only EPOLLOUT and EPOLLIN will be recorded in rkey.events. There is still the possibility for events like EPOLLHUP to take place, and cause rkey.events to be empty, and thus AssertionDefect is thrown in httpx:
https://github.com/xflywind/httpx/blob/7e8ca92efe921fbe2aa363ffafe3c443cc9b73fa/src/httpx.nim#L443-L444
When
events[i].events
contains neitherRead
norWrite
, anAssertionDefect
is thrown.However, as per code lines in ioselectors:
https://github.com/xflywind/ioselectors/blob/6fcdbf3fddeb239885cd8bce15a0ab63c00647c0/src/ioselectors/ioselectors_wepoll.nim#L264-L270
only
EPOLLOUT
andEPOLLIN
will be recorded inrkey.events
. There is still the possibility for events likeEPOLLHUP
to take place, and causerkey.events
to be empty, and thusAssertionDefect
is thrown in httpx:The text was updated successfully, but these errors were encountered: