Re: Invalid HTTP2 preface handling?

> On 11 Feb 2015, at 7:01 pm, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> 
>> I'm wondering what would be the problem if on an invalid preface, the
>> server check if it is actually a valid HTTP/1 request and if so, then to
>> proceed on that basis?
> 
> If by "proceed" you mean "Send back a HTTP/1 response that will
> help people at the far end diagnose the problem and then close",
> you'll be fine.  Anything more ambitious is on shaky ground.

Makes sense — and sounds like a perfect use of 505 HTTP Version Not Supported.


--
Mark Nottingham   https://www.mnot.net/

Received on Wednesday, 11 February 2015 11:46:17 UTC