Revert "c-hyper: handle body on HYPER_TASK_EMPTY"

This reverts commit c3eefa95c3.

Reported-by: Kevin Burke
Fixes #7122
Closes #7136
This commit is contained in:
Daniel Stenberg 2021-05-26 23:09:44 +02:00
parent 9655474548
commit 2ee761c19b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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;
}