W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2015

Re: Invalid HTTP2 preface handling?

From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Date: Wed, 11 Feb 2015 08:01:55 +0000
To: Greg Wilkins <gregw@intalio.com>
cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <19907.1423641715@critter.freebsd.dk>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:43 UTC