diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/urldata.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 04f999f03..fa2a316a8 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -413,6 +413,9 @@ struct connectdata { char *proxyhost; /* name of the http proxy host */ + char *user; /* user name string, allocated */ + char *passwd; /* password string, allocated */ + struct timeval now; /* "current" time */ struct timeval created; /* creation time */ int firstsocket; /* the main socket to use */ @@ -615,14 +618,8 @@ struct UrlState { } used_interface; /* buffers to store authentication data in, as parsed from input options */ - char user[MAX_CURL_USER_LENGTH]; - char passwd[MAX_CURL_PASSWORD_LENGTH]; char proxyuser[MAX_CURL_USER_LENGTH]; char proxypasswd[MAX_CURL_PASSWORD_LENGTH]; - - bool passwdgiven; /* set TRUE if an application-provided password has been - set */ - struct timeval keeps_speed; /* for the progress meter really */ /* 'connects' will be an allocated array with pointers. If the pointer is |