aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-31 04:41:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-31 04:41:05 +0000
commit25f611ca4279927d38327b3c8b4a9f81702cd127 (patch)
tree1c8f9072d764e0a8f144eaf53812b72cd12333f7 /include
parente6eb49e7e0b6f0895fac8de07a928c292b738a37 (diff)
Guillaume Cottenceau's patch that adds CURLOPT_UNRESTRICTED_AUTH that
disables the host name check in the FOLLOWLOCATION code. With that option set, libcurl will send user+password to all hosts.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index e9c8c1dbd..e7f5d5fd9 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -619,6 +619,11 @@ typedef enum {
/* Set aliases for HTTP 200 in the HTTP Response header */
CINIT(HTTP200ALIASES, OBJECTPOINT, 104),
+ /* Continue to send authentication (user+password) when following locations,
+ even when hostname changed. This can potentionally send off the name
+ and password to whatever host the server decides. */
+ CINIT(UNRESTRICTED_AUTH, LONG, 105),
+
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;
@@ -809,7 +814,7 @@ CURLcode curl_global_init(long flags);
void curl_global_cleanup(void);
/* This is the version number */
-#define LIBCURL_VERSION "7.10.4-pre2"
+#define LIBCURL_VERSION "7.10.4-pre5"
#define LIBCURL_VERSION_NUM 0x070a04
/* linked-list structure for the CURLOPT_QUOTE option (and other) */