diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2016-01-25 14:37:24 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-17 23:50:59 +0200 |
commit | cd8d23624594e21c37a0453459229a90a38ad471 (patch) | |
tree | 57afa8a5d73bffd4f3b08ef691d68ff2d03d4c7f /include/curl/curl.h | |
parent | f86f50f05a466f8960d94179ca46e9561458c567 (diff) | |
download | gnurl-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.h | 4 |
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; |