summaryrefslogtreecommitdiff
path: root/include/curl/curl.h
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2016-01-25 14:37:24 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-04-17 23:50:59 +0200
commitcd8d23624594e21c37a0453459229a90a38ad471 (patch)
tree57afa8a5d73bffd4f3b08ef691d68ff2d03d4c7f /include/curl/curl.h
parentf86f50f05a466f8960d94179ca46e9561458c567 (diff)
downloadgnurl-cd8d23624594e21c37a0453459229a90a38ad471.tar.gz
gnurl-cd8d23624594e21c37a0453459229a90a38ad471.tar.bz2
gnurl-cd8d23624594e21c37a0453459229a90a38ad471.zip
news: CURLOPT_CONNECT_TO and --connect-to
Makes curl connect to the given host+port instead of the host+port found in the URL.
Diffstat (limited to 'include/curl/curl.h')
-rw-r--r--include/curl/curl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 6d9710117..1df508410 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -1680,6 +1680,10 @@ typedef enum {
/* Do not send any tftp option requests to the server */
CINIT(TFTP_NO_OPTIONS, LONG, 242),
+ /* Linked-list of host:port:connect-to-host:connect-to-port,
+ overrides the URL's host:port (only for the network layer) */
+ CINIT(CONNECT_TO, STRINGPOINT, 243),
+
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;