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

Re: RST_STREAM(OK) after an HTTP response

From: Greg Wilkins <gregw@intalio.com>
Date: Fri, 26 Sep 2014 06:26:25 +1000
Message-ID: <CAH_y2NHYgxmiR1Eif7er5W5LTYM-ptjNirw0RkSVSBYVQcHd5Q@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Osama Mazahir <OSAMAM@microsoft.com>, Michaela LaVan <mlavan@google.com>, Mark Nottingham <mnot@mnot.net>, Jeff Pinner <jpinner@twitter.com>, Mike Bishop <Michael.Bishop@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>
I'm good with the clarification.

But just a reminder that it should still be OK for a server to send an
early response and still consume the request body.


On 25 September 2014 17:17, Martin Thomson <martin.thomson@gmail.com> wrote:

> On 24 September 2014 16:28, Osama Mazahir <OSAMAM@microsoft.com> wrote:
> > But that the validity of the bodies in-flight (or buffered on either
> > send/recv) is the same as the other reset codes.  That is, all bets are
> off
> > and I expect most stacks to implement immediate stream termination by
> > dropping any buffered data on the floor.  I do not want us to get into a
> > situation where bodies/requests/responses are expected to be valid, be it
> > partial or ‘complete’.
> There is another potential way this could work.  There are two ways a
> client might consider a request "done", either the presence of
> END_STREAM on the response side of the stream OR the transition of the
> stream into the "closed" state.  This latter option that really causes
> issues.
> Then there is the concern above, where the RST_STREAM acts as an
> interrupt and a trigger for the request being destroyed.  This seems
> far more likely to me, partially because it's basically an essential
> part of how you implement RST_STREAM handling anyway.
> If people are generally OK with a clarification, either because their
> implementation handles this gracefully, or because they are willing to
> make the necessary changes, then I think we should make the change.
> It seems like a valuable feature.  But I don't want to be saying
> things about this if it is going to cause implementations considerable
> pain.
> Would the clarification Jeff requests break your implementation?  (And
> are you unable or unwilling to make a change?)

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 Thursday, 25 September 2014 20:26:53 UTC

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