aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1317
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-05 00:40:10 +0900
committerDaniel Stenberg <daniel@haxx.se>2015-12-08 18:40:32 +0100
commit12f6bf5e5806d42119638bffc82d3926beca2bec (patch)
treee5e3dbe05879c3583048ee6db5622776b2f16e4d /tests/data/test1317
parentb6d5cb40d7038fe1ed5cda7815a6fe137242289e (diff)
http2: Fix hanging paused stream
When NGHTTP2_ERR_PAUSE is returned from data_source_read_callback, we might not process DATA frame fully. Calling nghttp2_session_mem_recv() again will continue to process DATA frame, but if there is no incoming frames, then we have to call it again with 0-length data. Without this, on_stream_close callback will not be called, and stream could be hanged. Bug: http://curl.haxx.se/mail/lib-2015-11/0103.html Reported-by: Francisco Moraes
Diffstat (limited to 'tests/data/test1317')
0 files changed, 0 insertions, 0 deletions