8238270: java.net HTTP/2 client does not decrease stream count when receives 204 response

Daniel Fuchs daniel.fuchs at oracle.com
Wed Apr 15 17:17:01 UTC 2020


Hi Chris,

On 15/04/2020 17:40, Chris Hegarty wrote:
> It is allowable for a HEADERS frame to carry an END_STREAM,
> but not an END_HEADERS. If this happens, then CONTINUATION
> frames must follow, the last of which will carry END_HEADERS.
> That probably explains why the END_STREAM handling is done
> the way that it is.

That does not make sense. If there is END_STREAM there cannot
be any continuation frames since the stream will be closed.

cheers,

-- daniel


More information about the net-dev mailing list