Lines Matching refs:req

220   struct httpreq *req = NULL;  in start_CONNECT()  local
227 Curl_safefree(data->req.newurl); in start_CONNECT()
229 result = Curl_http_proxy_create_CONNECT(&req, cf, data, 1); in start_CONNECT()
233 infof(data, "Establish HTTP proxy tunnel to %s", req->authority); in start_CONNECT()
240 result = Curl_h1_req_write_head(req, http_minor, &ts->request_data); in start_CONNECT()
247 if(req) in start_CONNECT()
248 Curl_http_req_free(req); in start_CONNECT()
294 struct SingleRequest *k = &data->req; in on_resp_header()
370 struct SingleRequest *k = &data->req; in recv_CONNECT_resp()
577 hyper_request *req = NULL; in start_CONNECT() local
654 req = hyper_request_new(); in start_CONNECT()
655 if(!req) { in start_CONNECT()
660 if(hyper_request_set_method(req, (uint8_t *)"CONNECT", in start_CONNECT()
670 Curl_safefree(data->req.newurl); in start_CONNECT()
678 if(hyper_request_set_uri(req, (uint8_t *)authority, in start_CONNECT()
702 (HYPERE_OK != hyper_request_set_version(req, in start_CONNECT()
709 headers = hyper_request_headers(req); in start_CONNECT()
758 sendtask = hyper_clientconn_send(client, req); in start_CONNECT()
764 req = NULL; in start_CONNECT()
787 if(req) in start_CONNECT()
788 hyper_request_free(req); in start_CONNECT()
843 *done = data->req.done; in recv_CONNECT_resp()
922 if(data->req.newurl) { in H1_CONNECT()
927 Curl_req_soft_reset(&data->req, data); in H1_CONNECT()
952 } while(data->req.newurl); in H1_CONNECT()
957 Curl_safefree(data->req.newurl); in H1_CONNECT()
961 failf(data, "CONNECT tunnel failed, response %d", data->req.httpcode); in H1_CONNECT()
1014 Curl_req_soft_reset(&data->req, data); in cf_h1_proxy_connect()