diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-12-02 23:38:23 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-12-02 23:38:23 +0000 |
commit | 1c93e75375882ed309c7d93a1ce59d27a53f23d3 (patch) | |
tree | c5d2406eff23e3930dcb6dfd53be0bc20266d271 /include | |
parent | 380ed8bebf4aa3bc605077c8cf5350986ae031a5 (diff) | |
download | curl-1c93e75375882ed309c7d93a1ce59d27a53f23d3.tar.gz |
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')
-rw-r--r-- | include/curl/curl.h | 3 |
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; |