mirror of
https://github.com/curl/curl.git
synced 2026-08-26 02:53:30 +03:00
http: Added proxy tunnel authentication message header value extraction
...following recent changes to Curl_base64_decode() rather than trying to parse a header line for the authentication mechanisms which is CRLF terminated and inline zero terminate it.
This commit is contained in:
parent
cdccb42267
commit
3b59696a93
3 changed files with 12 additions and 4 deletions
|
|
@ -187,7 +187,7 @@ char *Curl_checkheaders(struct SessionHandle *data, const char *thisheader)
|
|||
* case of allocation failure. Returns an empty string if the header value
|
||||
* consists entirely of whitespace.
|
||||
*/
|
||||
static char *copy_header_value(const char *h)
|
||||
char *copy_header_value(const char *h)
|
||||
{
|
||||
const char *start;
|
||||
const char *end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue