aboutsummaryrefslogtreecommitdiff
path: root/include/curl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-12-02 23:38:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-12-02 23:38:23 +0000
commit1c93e75375882ed309c7d93a1ce59d27a53f23d3 (patch)
treec5d2406eff23e3930dcb6dfd53be0bc20266d271 /include/curl
parent380ed8bebf4aa3bc605077c8cf5350986ae031a5 (diff)
Michal Marek introduced CURLOPT_PROXY_TRANSFER_MODE which is used to control
the appending of the "type=" thing on FTP URLs when they are passed to a HTTP proxy. Some proxies just don't like that appending (which is done unconditionally in 7.17.1), and some proxies treat binary/ascii transfers better with the appending done!
Diffstat (limited to 'include/curl')
-rw-r--r--include/curl/curl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 83028928a..ad2bb70b3 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -1182,6 +1182,9 @@ typedef enum {
/* POST volatile input fields. */
CINIT(COPYPOSTFIELDS, OBJECTPOINT, 165),
+ /* set transfer mode (;type=<a|i>) when doing FTP via an HTTP proxy */
+ CINIT(PROXY_TRANSFER_MODE, LONG, 166),
+
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;