Re: Disable verify_header in 7.84.0
Daniel Stenberg via curl-users <[email protected]>
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 6 Feb 2023, bhavesh soni wrote:
> So essentially nothing wrong with the curl or the function, but on a very
> custom scale I wanted to check if I can manually disable this so as to
> allow this for my case.
You can just remove the use of that function:
diff --git a/lib/http.c b/lib/http.c
index 3eba1a375..44055d2c5 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -4281,14 +4281,10 @@ CURLcode Curl_http_readwrite_headers(struct Curl_easy
*data,
k->header = FALSE; /* this is not a header line */
break;
}
}
- result = verify_header(data);
- if(result)
- return result;
-
result = Curl_http_header(data, conn, headp);
if(result)
return result;
/*
--
/ daniel.haxx.se
| Commercial curl support up to 24x7 is available!
| Private help, bug fixes, support, ports, new features
| https://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette: https://curl.se/mail/etiquette.html