aboutsummaryrefslogtreecommitdiff
path: root/src/tool_sleep.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-05-07 17:22:57 +0900
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 08:57:18 +0200
commit0dc0de0351a43ac70fabf6032be76e822ad7f8b4 (patch)
treed88faf9ff747a6be6ffd2dce1d271325b0ae1090 /src/tool_sleep.h
parentd261652d422b0724406d03df8ff753ac7a20b7b6 (diff)
http2: Read data left in connection buffer after pause
Previously when we do pause because of out of buffer, we just throw away unread data in connection buffer. This just broke protocol framing, and I saw occasional FRAME_SIZE_ERROR. This commit fix this issue by remembering how much data read, and in the next iteration, we process remaining data.
Diffstat (limited to 'src/tool_sleep.h')
0 files changed, 0 insertions, 0 deletions