Re: Invalid HTTP2 preface handling?

--------
In message <CAH_y2NE5Sa625XEec5WXJ7LdjK+h1b4M=Fc-_iGj2ZQKa1q_jg@mail.gmail.com>
, Greg Wilkins writes:

>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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

Received on Wednesday, 11 February 2015 08:02:21 UTC