]> granicus.if.org Git - curl/commit
http2: Fix streams get stuck
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Thu, 7 May 2015 05:51:32 +0000 (14:51 +0900)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 May 2015 06:57:18 +0000 (08:57 +0200)
commitd261652d422b0724406d03df8ff753ac7a20b7b6
tree850daeb8c6c61d38e16b8b493d38c8019064c7ab
parent74a4bd5ecd83ce1fde0dba8a642d3daaa99d916e
http2: Fix streams get stuck

This commit fixes the bug that streams get stuck if stream gets some
DATA, and stream->closed becomes true at the same time.  Previously,
in this condition, after we processed DATA, we are going to try to
read data from underlying transport, but there is no data, and gets
EAGAIN.  There was no code path to evaludate stream->closed.
lib/http2.c