summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-05-26 23:09:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-05-26 23:11:02 +0200
commit343696f298e7bca1f217917ba12c48553dc7431d (patch)
treef92cf1c1e030fb612c9720b487f957037472dc56
parent3976dd67a220309fe505202318c9c99bc952c7d5 (diff)
downloadcurl-bagder/hyper-response.tar.gz
Revert "c-hyper: handle body on HYPER_TASK_EMPTY"bagder/hyper-response
This reverts commit c3eefa95c31f55657f0af422e8268d738f689066. Reported-by: Kevin Burke Fixes #7122
-rw-r--r--lib/c-hyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/c-hyper.c b/lib/c-hyper.c
index 81f589eb9..5908f6e1f 100644
--- a/lib/c-hyper.c
+++ b/lib/c-hyper.c
@@ -331,7 +331,7 @@ CURLcode Curl_hyper_stream(struct Curl_easy *data,
infof(data, "hyperstream is done!\n");
break;
}
- else if(t != HYPER_TASK_RESPONSE && t != HYPER_TASK_EMPTY) {
+ else if(t != HYPER_TASK_RESPONSE) {
*didwhat = KEEP_RECV;
break;
}