From: Daniel Stenberg Date: Thu, 14 Oct 2021 08:38:22 +0000 (+0200) Subject: http: remove assert that breaks hyper X-Git-Tag: curl-7_80_0~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d36fded576709b6accfadd6375b6820a179b78ef;p=thirdparty%2Fcurl.git http: remove assert that breaks hyper Reported-by: Jay Satiro Fixes #7852 Closes #7855 --- diff --git a/lib/http.c b/lib/http.c index fe3f3a27b0..8f5457adc8 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; }