Skip to content

src: let http2 streams end after session close

After the stream has been marked as closed by the nghttp2 stack, there might be still pending data to be sent: trailing headers is an example of this. In that case, avoid reentering the nghttp2 stack synchronously to allow the data to be written before actually closing the stream.

Fixes: https://github.com/nodejs/node/issues/42713

Merge request reports

Loading