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
{{ message }}
Repository navigation
Commit edbaebf
Browse filesBrowse the repository at this point in the historyBrowse files
`server.close()` only closes connections that are idle at that moment.
A busy one stays keep-alive after its response, serving requests until
`keepAliveTimeout` reaps it.
This is a breaking change: such a connection now closes once it has
answered every request it accepted. Its last response says
`Connection: close`, unless its headers were written before close().
A request that arrives behind a pending response after close() is not
processed. Connections accepted after close(), e.g. once the server
listens again, are not affected.
Four existing tests called close() while their connection was still in
use. They now expect `Connection: close`, or call close() only once
they are done with the connection.
Signed-off-by: WhatCats <whatcater@gmail.com>
Assisted-by: a closed-source coding agent
0 commit comments