]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Revert "c-hyper: handle body on HYPER_TASK_EMPTY"
authorDaniel Stenberg <daniel@haxx.se>
Wed, 26 May 2021 21:09:44 +0000 (23:09 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 May 2021 05:54:32 +0000 (07:54 +0200)
This reverts commit c3eefa95c31f55657f0af422e8268d738f689066.

Reported-by: Kevin Burke
Fixes #7122
Closes #7136

lib/c-hyper.c

index 81f589eb9e6fcee917e2ab8c8be5518ece9ae1d8..5908f6e1f73c1b7de338d884e0974946c6f3f35e 100644 (file)
@@ -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;
     }