Lines Matching refs:user

211   Curl_safefree(up->user);
324 Curl_safefree(data->state.aptr.user);
439 * securetransport when explicitly specified by the user via
585 Curl_safefree(conn->http_proxy.user);
586 Curl_safefree(conn->socks_proxy.user);
592 Curl_safefree(conn->user);
726 /* the user information is case-sensitive
732 if(Curl_timestrcmp(data->user, needle->user) ||
1145 if(Curl_timestrcmp(needle->user, check->user) ||
1230 if(Curl_timestrcmp(needle->user, check->user) ||
1248 /* Both check->http_proxy.user and check->http_proxy.passwd can be
1250 if(!check->http_proxy.user || !check->http_proxy.passwd)
1253 if(Curl_timestrcmp(needle->http_proxy.user,
1254 check->http_proxy.user) ||
1928 control codes and we want to allow them for some schemes in the user
1930 uc = curl_url_get(uh, CURLUPART_USER, &data->state.up.user, 0);
1933 result = Curl_urldecode(data->state.up.user, 0, &decoded, NULL,
1938 conn->user = decoded;
1939 result = Curl_setstropt(&data->state.aptr.user, decoded);
1944 /* no user was set but a password, set a blank user */
1945 result = Curl_setstropt(&data->state.aptr.user, "");
2130 * be controlled by the web server user by setting the
2275 Curl_safefree(proxyinfo->user);
2276 proxyinfo->user = proxyuser;
2380 * Extract the user and password from the authentication string
2389 CURLcode result = Curl_urldecode(proxyuser, 0, &conn->http_proxy.user, NULL,
2393 conn->http_proxy.user);
2415 * Extract the user and password from the authentication string
2542 if(!conn->socks_proxy.user) {
2543 conn->socks_proxy.user = conn->http_proxy.user;
2544 conn->http_proxy.user = NULL;
2584 * This is used to parse a login string for user name, password and options in
2587 * user
2588 * user:password
2589 * user:password;options
2590 * user;options
2591 * user;options:password
2602 * holding the user will be stored upon completion.
2643 /* Allocate the user portion buffer, which can be zero length */
2670 /* Store the user portion if necessary */
2732 char **userp = &conn->user;
2753 if(data->state.aptr.user) {
2754 /* there was a user name in the URL. Use the URL decoded version */
2755 userp = &data->state.aptr.user;
2779 Curl_safefree(conn->user);
2780 conn->user = strdup(*userp);
2781 if(!conn->user)
2784 /* no user was set but a password, set a blank user */
2796 if(data->state.aptr.user != *userp) {
2798 result = Curl_setstropt(&data->state.aptr.user, *userp);
2803 if(data->state.aptr.user) {
2804 uc = curl_url_set(data->state.uh, CURLUPART_USER, data->state.aptr.user,
2809 *userp = strdup(data->state.aptr.user);
2845 if((conn->handler->flags & PROTOPT_NEEDSPWD) && !data->state.aptr.user)
2851 /* Store the default user */
2852 if(!conn->user) {
2853 conn->user = strdup(setuser);
2854 if(!conn->user)
3334 /* get the user+password information from the temp struct since it may
3336 if(temp->user) {
3337 /* use the new user name and password though */
3338 Curl_safefree(existing->user);
3340 existing->user = temp->user;
3342 temp->user = NULL;
3349 /* use the new proxy user name and proxy password though */
3350 Curl_safefree(existing->http_proxy.user);
3351 Curl_safefree(existing->socks_proxy.user);
3354 existing->http_proxy.user = temp->http_proxy.user;
3355 existing->socks_proxy.user = temp->socks_proxy.user;
3358 temp->http_proxy.user = NULL;
3359 temp->socks_proxy.user = NULL;
3643 DEBUGASSERT(conn->user);