Skip to content

http2: improve session close/destroy procedures

Don't destroy the socket when closing the session but let it end gracefully. Also, when destroying the session, on Windows, we would get ECONNRESET errors, make sure we take those into account in our tests. This tries to fix some of the test errors uncovered when upgrading libuv in https://github.com/nodejs/node/pull/42340

/cc @nodejs/http2

Merge request reports

Loading