clue · GitHub

@clue

@clue

@clue

@clue

The underlying `epoll_wait()` reports `EPOLLOUT|EPOLLERR|EPOLLHUP` on
the affected file descriptor, which `ext-uv` emits as an error code
`EBADF` with no events attached. We explicitly re-enable all active
events on this error event to invoke the writable listener for this
condition to match other event loop implementations and successfully
detect this as a refused connection attempt. All tests are now green.

@clue clue changed the title [WIP] ExtUvLoop: Fix reporting connection refused ExtUvLoop: Fix reporting connection refused

Dec 30, 2019

@clue clue changed the title ExtUvLoop: Fix reporting connection refused ExtUvLoop: Fix reporting connection refused errors

Dec 30, 2019

@clue

WyriHaximus

@clue clue mentioned this pull request

Dec 31, 2019

Merged

jsor

jsor approved these changes Dec 31, 2019

@jsor

@clue

clue deleted the ext-uv-connections branch

December 31, 2019 14:13

Read the original on github.com ↗