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

handling bad priority parameters

From: Matthew Kerwin <matthew@kerwin.net.au>
Date: Fri, 22 Aug 2014 13:30:36 +1000
Message-ID: <CACweHNDzN2cQmLp69BsaKMw-B0rgvojJxz3CxsgQi6vcnGkCdw@mail.gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
I'm currently working through stream prioritisation in draft-14, and I have
two questions. Sorry if they've been discussed already, I searched the
mailing list archives but couldn't find anything (at least back to around
the draft-10 era).

1. What's the appropriate reaction if a HEADERS or PRIORITY frame includes
an invalid stream dependency? i.e. too large, odd when it should be even,
etc? I can see a case for allowing future IDs into the tree, completely
ignoring bad priority data, or for throwing a stream error. Which should it
be?

​2. What do we do if we receive a trailing HEADERS ​frame that contains
priority info? §5.3 says: "A client can assign a priority for a new stream
by including prioritization information in the HEADERS frame that opens the
stream.  For an existing stream, the PRIORITY frame can be used to change
the priority." But nothing explicitly says what to do if the HEADERS frame
with the priority info isn't the HEADERS frame that opens the stream. I
would appreciate a bit of text either there or in §6.2 that clarifies the
point.

Cheers
-- 
  Matthew Kerwin
  http://matthew.kerwin.net.au/
Received on Friday, 22 August 2014 03:31:06 UTC

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