http2: disable server push if not requested

Ref: https://github.com/curl/curl/pull/1160
This commit is contained in:
Alessandro Ghedini 2016-12-10 13:54:59 +00:00
parent 02ee3b2737
commit 9ad034e5a1
4 changed files with 32 additions and 18 deletions

View file

@ -48,7 +48,7 @@ Host: %HOSTIP:%HTTPPORT
Accept: */*
Connection: Upgrade, HTTP2-Settings
Upgrade: %H2CVER
HTTP2-Settings: AAMAAABkAARAAAAA
HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
</protocol>
</verify>

View file

@ -58,7 +58,7 @@ Host: %HOSTIP:%HTTPPORT
Accept: */*
Connection: Upgrade, HTTP2-Settings
Upgrade: %H2CVER
HTTP2-Settings: AAMAAABkAARAAAAA
HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
</protocol>
# CURLE_HTTP2: Send failure: Broken pipe