cURL / Mailing Lists / curl-library / Single Mail


[PATCH] http2: Deal with HTTP/2 data inside response header buffer

From: Tatsuhiro Tsujikawa <>
Date: Thu, 13 Nov 2014 21:27:54 +0900


Previously if HTTP/2 traffic is appended to HTTP Upgrade response
header (thus they are in the same buffer), the trailing HTTP/2 traffic
is not processed and lost. The appended data is most likely SETTINGS
frame. If it is lost, nghttp2 library complains server does not obey
the HTTP/2 protocol and issues GOAWAY frame and curl eventually drops
connection. This patch fixes this problem and now trailing data is

See also

Best regards,
Tatsuhiro Tsujikawa

List admin:

Received on 2014-11-13