EpollPoller registers with mask EPOLLIN, but filters as if also expecting EPOLLHUP #1063
Labels
affects-0.3
Issues related to 0.3.X Mitogen releases
bug
Code feature that hinders desired execution outcome
EpollPoller registers with the mask
EPOLLIN | EPOLLOUT
mitogen/mitogen/parent.py
Lines 1044 to 1047 in bb9c51b
but when looping over a poll result it filters read file descriptors (
self._rfds
) onEPOLLIN | EPOLLHUP
mitogen/mitogen/parent.py
Lines 1080 to 1081 in bb9c51b
mitogen/mitogen/parent.py
Lines 1089 to 1090 in bb9c51b
I'm not familiar with
epoll()
so this may be working as intended, but it feels like a bug. Noticed while investigating #957.The text was updated successfully, but these errors were encountered: