Lines Matching defs:temp
2059 * Curl_free_request_state() should free temp data that was allocated in the
3326 * Cleanup the connection `temp`, just allocated for `data`, before using the
3328 * and `temp` is freed.
3331 struct connectdata *temp,
3334 /* get the user+password information from the temp struct since it may
3336 if(temp->user) {
3340 existing->user = temp->user;
3341 existing->passwd = temp->passwd;
3342 temp->user = NULL;
3343 temp->passwd = NULL;
3347 existing->bits.proxy_user_passwd = temp->bits.proxy_user_passwd;
3354 existing->http_proxy.user = temp->http_proxy.user;
3355 existing->socks_proxy.user = temp->socks_proxy.user;
3356 existing->http_proxy.passwd = temp->http_proxy.passwd;
3357 existing->socks_proxy.passwd = temp->socks_proxy.passwd;
3358 temp->http_proxy.user = NULL;
3359 temp->socks_proxy.user = NULL;
3360 temp->http_proxy.passwd = NULL;
3361 temp->socks_proxy.passwd = NULL;
3374 * switch `existing` conn to `temp` conn's host settings.
3383 existing->host = temp->host;
3384 temp->host.rawalloc = NULL;
3385 temp->host.encalloc = NULL;
3386 existing->conn_to_host = temp->conn_to_host;
3387 temp->conn_to_host.rawalloc = NULL;
3388 existing->conn_to_port = temp->conn_to_port;
3389 existing->remote_port = temp->remote_port;
3392 existing->hostname_resolve = temp->hostname_resolve;
3393 temp->hostname_resolve = NULL;
3398 conn_free(data, temp);