The previous h2 trailer fix in 54a2b63 was wrong and caused a
regression: it cannot deal with trailers immediately when read since
they may be read off the connection by the wrong 'data' owner.
This change reverts the logic back to gathering all trailers into a
single buffer, like before 54a2b63.
Reported-by: Tadej Vengust
Fixes#5663
Closes #
I did this
So I called a http2 server that sends trailer headers (so headers frame after data frames) like so:
curl url --http2-prior-knowledge --verbose
I got the response as such:
I expected the following
I expected that after data headers:
test: ok
would also be displayed.curl/libcurl version
curl 7.64.1 (x86_64-apple-darwin19.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.39.2
operating system
Mac os 10.15.4
The text was updated successfully, but these errors were encountered: