Lines Matching refs:needle
3175 struct connectdata *needle, in ConnectionExists() argument
3183 bool canPipeline = IsPipeliningPossible(data, needle); in ConnectionExists()
3189 (needle->handler->protocol & PROTO_FAMILY_HTTP)); in ConnectionExists()
3190 bool wantProxyNTLMhttp = (needle->bits.proxy_user_passwd && in ConnectionExists()
3193 (needle->handler->protocol & PROTO_FAMILY_HTTP))); in ConnectionExists()
3200 if(canPipeline && Curl_pipeline_site_blacklisted(data, needle)) { in ConnectionExists()
3206 bundle = Curl_conncache_find_bundle(needle, data->state.conn_cache); in ConnectionExists()
3215 if(needle->bits.conn_to_host) in ConnectionExists()
3216 hostname = needle->conn_to_host.name; in ConnectionExists()
3218 hostname = needle->host.name; in ConnectionExists()
3322 if((needle->handler->flags&PROTOPT_SSL) != in ConnectionExists()
3326 needle->handler->protocol || !check->tls_upgraded) in ConnectionExists()
3330 if(needle->handler->flags&PROTOPT_SSL) { in ConnectionExists()
3336 if(needle->bits.proxy != check->bits.proxy) in ConnectionExists()
3340 if(needle->bits.proxy && in ConnectionExists()
3341 (needle->proxytype != check->proxytype || in ConnectionExists()
3342 needle->bits.httpproxy != check->bits.httpproxy || in ConnectionExists()
3343 needle->bits.tunnel_proxy != check->bits.tunnel_proxy || in ConnectionExists()
3344 !Curl_raw_equal(needle->proxy.name, check->proxy.name) || in ConnectionExists()
3345 needle->port != check->port)) in ConnectionExists()
3349 if(needle->bits.conn_to_host != check->bits.conn_to_host) in ConnectionExists()
3354 if(needle->bits.conn_to_port != check->bits.conn_to_port) in ConnectionExists()
3364 if(needle->localdev || needle->localport) { in ConnectionExists()
3376 if((check->localport != needle->localport) || in ConnectionExists()
3377 (check->localportrange != needle->localportrange) || in ConnectionExists()
3379 !needle->localdev || in ConnectionExists()
3380 strcmp(check->localdev, needle->localdev)) in ConnectionExists()
3384 if(!(needle->handler->flags & PROTOPT_CREDSPERREQUEST)) { in ConnectionExists()
3387 if(!strequal(needle->user, check->user) || in ConnectionExists()
3388 !strequal(needle->passwd, check->passwd)) { in ConnectionExists()
3394 if(!needle->bits.httpproxy || (needle->handler->flags&PROTOPT_SSL) || in ConnectionExists()
3395 (needle->bits.httpproxy && needle->bits.tunnel_proxy)) { in ConnectionExists()
3399 if((Curl_raw_equal(needle->handler->scheme, check->handler->scheme) || in ConnectionExists()
3401 needle->handler->protocol && check->tls_upgraded)) && in ConnectionExists()
3402 (!needle->bits.conn_to_host || Curl_raw_equal( in ConnectionExists()
3403 needle->conn_to_host.name, check->conn_to_host.name)) && in ConnectionExists()
3404 (!needle->bits.conn_to_port || in ConnectionExists()
3405 needle->conn_to_port == check->conn_to_port) && in ConnectionExists()
3406 Curl_raw_equal(needle->host.name, check->host.name) && in ConnectionExists()
3407 needle->remote_port == check->remote_port) { in ConnectionExists()
3411 if(needle->handler->flags & PROTOPT_SSL) { in ConnectionExists()
3414 if(!Curl_ssl_config_matches(&needle->ssl_config, in ConnectionExists()
3448 if(!strequal(needle->user, check->user) || in ConnectionExists()
3449 !strequal(needle->passwd, check->passwd)) in ConnectionExists()
3463 if(!strequal(needle->proxyuser, check->proxyuser) || in ConnectionExists()
3464 !strequal(needle->proxypasswd, check->proxypasswd)) in ConnectionExists()