http: remove assert that breaks hyper

Reported-by: Jay Satiro
Fixes #7852
Closes #7855
This commit is contained in:
Daniel Stenberg 2021-10-14 10:38:22 +02:00
parent 975a54dd86
commit d36fded576
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

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