Re: Invalid HTTP2 preface handling?

In message <>
, 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