Also, in HTTPbis we're taking the approach of suggesting (but not requiring) some minimum supported sizes for various protocol elements like headers, URIs, etc. See:
Cheers,
--
Mark Nottingham
http://www.mnot.net/
Is this something that you really want to do in SPDY?
Why not just reuse the existing HTTP status codes? That would make things much simpler both for APIs and gateways.
Also, in HTTPbis we're taking the approach of suggesting (but not requiring) some minimum supported sizes for various protocol elements like headers, URIs, etc. See:
yes - some language around this is probably very helpful in the spec .
I made the mistake, when rst_stream'ing sever pushes that I did not want
to accept, of not processing the compressed headers.. which of course
led to the same class of bug.
BTW - it also occurred to me that when this happens, you're probably going to have to error out the entire session rather than just a stream. If an implementation doesn't fully process the compressed data within a SYN_STREAM, SYN_REPLY, or HEADERS frame, then the compression state between the endpoints get out of sync. Once that happens, you have to tear down the entire session.