Ending streams/connections

Currently a stream can end either with a RST_STREAM or with a frame
carrying the  END_STREAM flag.

I propose that RST_STREAM should also indicate end of stream by defining
the END_STREAM(0x1) flag and it MUST be set.

The reason for this proposal is so that code can be written to track the
status of stream without needing to care about the exact semantics of
resetting a stream.

If END_STREAM is moved to the reserved bit, then all we need to is say that
RST_STREAM MUST set the END_STREAM bit in the header.


Similarly, I think that GO_AWAY should also indicate END_STREAM on stream
ID=0

cheers


-- 
Greg Wilkins <gregw@intalio.com>
http://eclipse.org/jetty HTTP, SPDY, Websocket server and client that scales
http://www.webtide.com  advice and support for jetty and cometd.

Received on Wednesday, 3 September 2014 02:12:27 UTC