Lines Matching refs:match

866   struct url_conn_match *match = userdata;  in url_match_conn()  local
867 struct Curl_easy *data = match->data; in url_match_conn()
868 struct connectdata *needle = match->needle; in url_match_conn()
915 if(match->may_multiplex) { in url_match_conn()
916 match->seen_pending_conn = TRUE; in url_match_conn()
929 match->seen_single_use_conn = TRUE; in url_match_conn()
932 match->seen_multiplex_conn = TRUE; in url_match_conn()
933 if(!match->may_multiplex) in url_match_conn()
1004 if(match->may_multiplex && in url_match_conn()
1010 match->found = NULL; in url_match_conn()
1011 match->wait_pipe = TRUE; in url_match_conn()
1117 if(match->want_ntlm_http) { in url_match_conn()
1124 match->found = conn; in url_match_conn()
1135 if(match->want_proxy_ntlm_http) { in url_match_conn()
1152 if(match->want_ntlm_http || match->want_proxy_ntlm_http) { in url_match_conn()
1157 match->found = conn; in url_match_conn()
1159 if((match->want_ntlm_http && in url_match_conn()
1161 (match->want_proxy_ntlm_http && in url_match_conn()
1164 match->force_reuse = TRUE; in url_match_conn()
1173 DEBUGASSERT(match->may_multiplex); in url_match_conn()
1198 match->found = conn; in url_match_conn()
1204 struct url_conn_match *match = userdata; in url_match_result() local
1206 if(match->found) { in url_match_result()
1209 Curl_attach_connection(match->data, match->found); in url_match_result()
1212 else if(match->seen_single_use_conn && !match->seen_multiplex_conn) { in url_match_result()
1216 match->wait_pipe = FALSE; in url_match_result()
1218 else if(match->seen_pending_conn && match->data->set.pipewait) { in url_match_result()
1219 infof(match->data, in url_match_result()
1221 match->wait_pipe = TRUE; in url_match_result()
1223 match->force_reuse = FALSE; in url_match_result()
1245 struct url_conn_match match; in ConnectionExists() local
1248 memset(&match, 0, sizeof(match)); in ConnectionExists()
1249 match.data = data; in ConnectionExists()
1250 match.needle = needle; in ConnectionExists()
1251 match.may_multiplex = xfer_may_multiplex(data, needle); in ConnectionExists()
1254 match.want_ntlm_http = ((data->state.authhost.want & CURLAUTH_NTLM) && in ConnectionExists()
1257 match.want_proxy_ntlm_http = in ConnectionExists()
1267 url_match_conn, url_match_result, &match); in ConnectionExists()
1271 *usethis = match.found; in ConnectionExists()
1272 *force_reuse = match.force_reuse; in ConnectionExists()
1273 *waitpipe = match.wait_pipe; in ConnectionExists()