Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve test reliability regarding EPOLLHUP (#326)
Motivation: PR #286 started processing EPOLLHUPs. Sadly epoll also immediately throws EPOLLHUP at you if you register a socket that isn't either connected or listening. This fixes two more instances of this problem. Modifications: made sure sockets that are registered are either listening or connected (and before we let the Selector wait for events) Result: tests should be more reliable
- Loading branch information