Commit a9a4300a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

- Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that then

  make CURLOPT_PROXYUSERPWD sort of deprecated. The primary motive for adding
  these new options is that they have no problems with the colon separator
  that the CURLOPT_PROXYUSERPWD option does.
parent f720e0ac
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6,6 +6,12 @@

                                  Changelog

Daniel Stenberg (16 Oct 2008)
- Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that then
  make CURLOPT_PROXYUSERPWD sort of deprecated. The primary motive for adding
  these new options is that they have no problems with the colon separator
  that the CURLOPT_PROXYUSERPWD option does.

Daniel Stenberg (15 Oct 2008)
- Pascal Terjan filed bug #2154627
  (http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl
+2 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ Curl and libcurl 7.19.1

 Public curl releases:         107
 Command line options:         128
 curl_easy_setopt() options:   156
 curl_easy_setopt() options:   158
 Public functions in libcurl:  58
 Known libcurl bindings:       37
 Contributors:                 672
@@ -16,6 +16,7 @@ This release includes the following changes:
 o configure --disable-proxy disables proxy
 o Added CURLOPT_USERNAME and CURLOPT_PASSWORD
 o --interface now works with IPv6 connections on glibc systems
 o Added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD

This release includes the following bugfixes:

+0 −5
Original line number Diff line number Diff line
@@ -160,11 +160,6 @@ may have been fixed since this was written!
  doesn't do a HEAD first to get the initial size. This needs to be done
  manually for HTTP PUT resume to work, and then '-C [index]'.

7. CURLOPT_PROXYUSERPWD has no way of providing user names that contain a
  colon. This can't be fixed easily in a backwards compatible way without
  adding new options. CURLOPT_USERPWD was split into CURLOPT_USERNAME and
  CURLOPT_PASSWORD for this reason.

6. libcurl ignores empty path parts in FTP URLs, whereas RFC1738 states that
  such parts should be sent to the server as 'CWD ' (without an argument).
  The only exception to this rule, is that we knowingly break this if the
+20 −0
Original line number Diff line number Diff line
@@ -620,6 +620,26 @@ password to use for the transfer.

The CURLOPT_PASSWORD option should be used in conjunction with
as the \fICURLOPT_USERNAME\fP option. (Added in 7.19.1)
.IP CURLOPT_PROXYUSERNAME
Pass a char * as parameter, which should be pointing to the zero terminated
user name to use for the transfer while connecting to Proxy.

The CURLOPT_PROXYUSERNAME option should be used in same way as the
\fICURLOPT_PROXYUSERPWD\fP is used.  In comparison to \fICURLOPT_PROXYUSERPWD\fP
the CURLOPT_PROXYUSERNAME allows the username to contain colon,
like in following example: "sip:user@example.com".
Note the CURLOPT_PROXYUSERNAME option is an alternative way to set the user name
while connecting to Proxy.  There is no meaning to use it together
with the \fICURLOPT_PROXYUSERPWD\fP option.

In order to specify the password to be used in conjunction with the user name
use the \fICURLOPT_PROXYPASSWORD\fP option.  (Added in 7.19.1)
.IP CURLOPT_PROXYPASSWORD
Pass a char * as parameter, which should be pointing to the zero terminated
password to use for the transfer while connecting to Proxy.

The CURLOPT_PROXYPASSWORD option should be used in conjunction with
as the \fICURLOPT_PROXYUSERNAME\fP option. (Added in 7.19.1)
.IP CURLOPT_HTTPAUTH
Pass a long as parameter, which is set to a bitmask, to tell libcurl what
authentication method(s) you want it to use. The available bits are listed
+4 −0
Original line number Diff line number Diff line
@@ -1145,6 +1145,10 @@ typedef enum {
  CINIT(USERNAME, OBJECTPOINT, 173),
  CINIT(PASSWORD, OBJECTPOINT, 174),

    /* "name" and "pwd" to use with Proxy when fetching. */
  CINIT(PROXYUSERNAME, OBJECTPOINT, 175),
  CINIT(PROXYPASSWORD, OBJECTPOINT, 176),

  CURLOPT_LASTENTRY /* the last unused */
} CURLoption;

Loading