diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-04-02 00:28:58 +0900 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-04-02 15:19:29 +0200 |
commit | 21e82bd635124881a4a2ac08b3b9b28efe98afee (patch) | |
tree | b619753f1d34ba0addcaeb9d63df46c464c4dda4 /tests/libtest | |
parent | 2685041a5c285968696de639699fb39a0fdf8c69 (diff) |
http2: Fix missing nghttp2_session_send call in Curl_http2_switched
Previously in Curl_http2_switched, we called nghttp2_session_mem_recv to
parse incoming data which were already received while curl was handling
upgrade. But we didn't call nghttp2_session_send, and it led to make
curl not send any response to the received frames. Most likely, we
received SETTINGS from server at this point, so we missed opportunity to
send SETTINGS + ACK. This commit adds missing nghttp2_session_send call
in Curl_http2_switched to fix this issue.
Bug: https://github.com/bagder/curl/issues/192
Reported-by: Stefan Eissing
Diffstat (limited to 'tests/libtest')
0 files changed, 0 insertions, 0 deletions