You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, shutdown callback called almost immediately after calling server.shutdown() (by process.nextTick). It seems that more desirable behaviour would be to wait for all connections to close to give shutdown-handling code better idea on when to close other resources that may be further used by not yet closed connections.
The text was updated successfully, but these errors were encountered:
New to this stuff, but my interpretation is that it's called as part of the server.close callback, which means it's called after the "server is finally closed". After initiating the close, this code then does it manual tweaking of idle sockets, thus helping the server.close to finish.
Currently, shutdown callback called almost immediately after calling
server.shutdown()
(byprocess.nextTick
). It seems that more desirable behaviour would be to wait for all connections to close to give shutdown-handling code better idea on when to close other resources that may be further used by not yet closed connections.The text was updated successfully, but these errors were encountered: