]> git.ipfire.org Git - thirdparty/squid.git/commit
HTTP/2: handle 'PRI' method found in HTTP/1.x traffic
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 5 Dec 2014 13:02:46 +0000 (05:02 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 5 Dec 2014 13:02:46 +0000 (05:02 -0800)
commit5de5c2d0686b91fabccbdab4a612a7db2e325037
tree260a36cf3f1febe010cc8e65277ba3dff9903f6c
parentfaf2558a25ee363602a06d16bb083f330b16c195
HTTP/2: handle 'PRI' method found in HTTP/1.x traffic

draft-ietf-httpbis-http2-16 section 11.6 registers the method PRI.
"
  This method is never used by an actual client.
  This method will appear to be used when an HTTP/1.1 server or
  intermediary attempts to parse an HTTP/2 connection preface.
"

If seen with a non-2.0 version number it means some client or proxy has
mishandled an HTTP/2.0 connection preface and corrupted the traffic.
src/client_side.cc