]> granicus.if.org Git - curl/commit
http2: don't pass on Connection: headers
authorDaniel Stenberg <daniel@haxx.se>
Thu, 3 Sep 2015 20:23:50 +0000 (22:23 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 Sep 2015 20:23:50 +0000 (22:23 +0200)
commit18691642931e5c7ac8af83ac3a84fbcb36000f96
tree60e5c7c2e31679e2d389fa39b984094a73c04425
parent4ceddcf8caa02aa6e4b23b3d3449fbdf1d4ec174
http2: don't pass on Connection: headers

RFC 7540 section 8.1.2.2 states: "An endpoint MUST NOT generate an
HTTP/2 message containing connection-specific header fields; any message
containing connection-specific header fields MUST be treated as
malformed"

Closes #401
lib/http2.c