Lines Matching refs:resp
70 struct http_resp *resp; member
111 Curl_http_resp_free(ts->resp); in tunnel_stream_clear()
718 if(!ctx->tunnel.resp) in proxy_h2_on_frame_recv()
722 stream_id, ctx->tunnel.resp->status); in proxy_h2_on_frame_recv()
724 if(ctx->tunnel.resp->status / 100 != 1) { in proxy_h2_on_frame_recv()
775 struct http_resp *resp; in proxy_h2_on_header() local
783 result = Curl_http_resp_make(&resp, http_status, NULL); in proxy_h2_on_header()
786 resp->prev = ctx->tunnel.resp; in proxy_h2_on_header()
787 ctx->tunnel.resp = resp; in proxy_h2_on_header()
789 stream_id, ctx->tunnel.resp->status); in proxy_h2_on_header()
793 if(!ctx->tunnel.resp) in proxy_h2_on_header()
796 result = Curl_dynhds_add(&ctx->tunnel.resp->headers, in proxy_h2_on_header()
992 DEBUGASSERT(ts->resp); in inspect_response()
993 if(ts->resp->status/100 == 2) { in inspect_response()
994 infof(data, "CONNECT tunnel established, response %d", ts->resp->status); in inspect_response()
999 if(ts->resp->status == 401) { in inspect_response()
1000 auth_reply = Curl_dynhds_cget(&ts->resp->headers, "WWW-Authenticate"); in inspect_response()
1002 else if(ts->resp->status == 407) { in inspect_response()
1003 auth_reply = Curl_dynhds_cget(&ts->resp->headers, "Proxy-Authenticate"); in inspect_response()
1009 result = Curl_http_input_auth(data, ts->resp->status == 407, in inspect_response()