Skip to content

Commit

Permalink
http: remove assert that breaks hyper
Browse files Browse the repository at this point in the history
Reported-by: Jay Satiro
Fixes #7852
  • Loading branch information
bagder committed Oct 14, 2021
1 parent afd4898 commit fc4fc3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit fc4fc3f

Please sign in to comment.