]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http: remove assert that breaks hyper
authorDaniel Stenberg <daniel@haxx.se>
Thu, 14 Oct 2021 08:38:22 +0000 (10:38 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 14 Oct 2021 09:16:37 +0000 (11:16 +0200)
Reported-by: Jay Satiro
Fixes #7852
Closes #7855

lib/http.c

index fe3f3a27b0e1c9a211c7ab0f3dd4803f0a5d1340..8f5457adc86a63cf3a20cd0deedba5bded76ae90 100644 (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;
   }