summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-10-14 10:38:22 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-10-14 11:16:37 +0200
commitd36fded576709b6accfadd6375b6820a179b78ef (patch)
treebeee11003f6ad35782e256f75d1bd637bd0b5586
parent975a54dd86755600719bff8338d4e1b478930314 (diff)
downloadcurl-d36fded576709b6accfadd6375b6820a179b78ef.tar.gz
http: remove assert that breaks hyper
Reported-by: Jay Satiro Fixes #7852 Closes #7855
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index fe3f3a27b..8f5457adc 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -2902,7 +2902,7 @@ CURLcode Curl_http_firstwrite(struct Curl_easy *data,
bool *done)
{
struct SingleRequest *k = &data->req;
- DEBUGASSERT(conn->handler->protocol&(PROTO_FAMILY_HTTP|CURLPROTO_RTSP));
+
if(data->req.ignore_cl) {
k->size = k->maxdownload = -1;
}