-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I experience two issues when flows are closed:
- If the remote peer closes a connection,
on_close()will be called becauserecvreturns 0, but the socket associated with the flow is never closed. - If the event loop is stopped via e.g. a signal handler, and
neat_free_ctx()is called afterwards, all open sockets are closed, buton_close()is not called for the respective flows. This results inuserDataassociated with the flows not being freed.
I am pretty sure issue 1 is a bug, but I am not sure if issue 2 is a bug.
Metadata
Metadata
Assignees
Labels
No labels