curl-library
[PATCH] http2: Deal with HTTP/2 data inside response header buffer
From: Tatsuhiro Tsujikawa <tatsuhiro.t_at_gmail.com>
Date: Thu, 13 Nov 2014 21:27:54 +0900
Received on 2014-11-13
Date: Thu, 13 Nov 2014 21:27:54 +0900
Hi,
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
processed.
See also https://github.com/tatsuhiro-t/nghttp2/issues/103
Best regards,
Tatsuhiro Tsujikawa
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- application/x-gzip attachment: 0001-http2-Deal-with-HTTP-2-data-inside-response-header-b.patch.gz