diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-10-14 10:38:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-10-14 11:16:37 +0200 |
commit | d36fded576709b6accfadd6375b6820a179b78ef (patch) | |
tree | beee11003f6ad35782e256f75d1bd637bd0b5586 /lib | |
parent | 975a54dd86755600719bff8338d4e1b478930314 (diff) | |
download | curl-d36fded576709b6accfadd6375b6820a179b78ef.tar.gz |
http: remove assert that breaks hyper
Reported-by: Jay Satiro
Fixes #7852
Closes #7855
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.c | 2 |
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; } |