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

Re: END_SEGMENT and headers

From: Jeff Pinner <jpinner@twitter.com>
Date: Wed, 16 Apr 2014 16:46:24 -0700
Message-ID: <CA+pLO_gqq7ST_o=f0pFsT-Bd7v+Y-9PSqtHouCjJzK7R4J6doQ@mail.gmail.com>
To: David Krauss <potswa@gmail.com>
Cc: Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
The draft states both that frames can not be coalesced across a segment
boundary, but also that segment boundaries must be preserved.

You are correct that for a HEADERS frame w/ the END_SEGMENT flag set, there
is no way a server could coalesce frames because the next frames must be
CONTINUATION frames until the END_HEADERS flag is received, so in this
case, END_SEGMENT and END_HEADERS are equivalent.


frame sequence would still need an END_HEADERS flag set, so in this case
they are not equivalent. In this case, combining the flags would be
inserting a segment boundary where none previously existed.

On Wed, Apr 16, 2014 at 4:36 PM, David Krauss <potswa@gmail.com> wrote:

> On 2014-04-17, at 7:33 AM, David Krauss <potswa@gmail.com> wrote:
> > a CONTINUATION frame must be preceded on the connection by a HEADERS or
> CONTINUATION frame from the same stream.
> To be clear: *immediately* preceded with no intervening frames. Also, a
> DATA frame is not valid until after END_HEADERS which moves to the "open"
> state.
Received on Wednesday, 16 April 2014 23:46:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:30 UTC