aboutsummaryrefslogtreecommitdiff
path: root/tests/server/util.c
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-09-13 11:59:23 +0900
committerDaniel Stenberg <daniel@haxx.se>2014-09-13 13:54:08 +0200
commit7d9bef9286cd8efbed032d41a36e82d1c44058a7 (patch)
tree831152bfd98936915b6ea859c2501003b8813346 /tests/server/util.c
parent1d2ffb47125700c6c6a9371794490cc4b011dbde (diff)
http2: Fix busy loop when EOF is encountered
Previously we did not handle EOF from underlying transport socket and wrongly just returned error code CURL_AGAIN from http2_recv, which caused busy loop since socket has been closed. This patch adds the code to handle EOF situation and tells the upper layer that we got EOF.
Diffstat (limited to 'tests/server/util.c')
0 files changed, 0 insertions, 0 deletions