-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hi
I've not had much luck getting the native listener to be stable, so have been trying the managed listener instead. Unfortunately, this leaks sockets. After a while, I have so many sockets in CLOSE_WAIT state that I run out of file descriptors.
I've been trying to debug this, but haven't got that far. Could the problem be here?
| readShutdown=true; |
readShutdown is set, but there's no code anywhere else that ever checks this.
(If I trigger a leak by eg. shutting down nginx, this callback does get called and bytesRead == 0)
Maybe I should just call OnDisconnected (); instead??
Thanks
Metadata
Metadata
Assignees
Labels
No labels