summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-02 11:18:39 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-02 11:18:39 +0000
commit3b59696a93e7bbc7ec7ad0371ddac02a7d990cd6 (patch)
tree3d8bb3340a33bc6f181a17638c3160dafbd1639c /lib/http.h
parentcdccb422671aebd198ed338ac6111cfde303f1cc (diff)
downloadcurl-3b59696a93e7bbc7ec7ad0371ddac02a7d990cd6.tar.gz
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.
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http.h b/lib/http.h
index a506238a6..d74714d58 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -35,11 +35,12 @@ extern const struct Curl_handler Curl_handler_http;
extern const struct Curl_handler Curl_handler_https;
#endif
+/* Header specific function */
bool Curl_compareheader(const char *headerline, /* line to check */
const char *header, /* header keyword _with_ colon */
const char *content); /* content string to find */
-
char *Curl_checkheaders(struct SessionHandle *data, const char *thisheader);
+char *copy_header_value(const char *h);
/* ------------------------------------------------------------------------- */
/*