W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2014

Ending streams/connections

From: Greg Wilkins <gregw@intalio.com>
Date: Wed, 3 Sep 2014 12:11:59 +1000
Message-ID: <CAH_y2NEoLve4b0FvpxD9oDkzghi29xZ-aT07Omvb8NY2VH+7Gw@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 30 March 2016 09:57:10 UTC