Home
last modified time | relevance | path

Searched refs:authority (Results 1 – 17 of 17) sorted by relevance

/curl/lib/
H A Dhttp_proxy.c90 char *authority = NULL; in Curl_http_proxy_create_CONNECT() local
100 authority = aprintf("%s%s%s:%d", ipv6_ip ? "[" : "", hostname, in Curl_http_proxy_create_CONNECT()
102 if(!authority) { in Curl_http_proxy_create_CONNECT()
108 NULL, 0, authority, strlen(authority), in Curl_http_proxy_create_CONNECT()
115 req->authority, TRUE); in Curl_http_proxy_create_CONNECT()
122 result = Curl_dynhds_cadd(&req->headers, "Host", authority); in Curl_http_proxy_create_CONNECT()
156 free(authority); in Curl_http_proxy_create_CONNECT()
H A Dhttp1.c139 const char *p, *m, *target, *hv, *scheme, *authority, *path; in start_req() local
186 scheme = authority = path = NULL; in start_req()
196 authority = target; in start_req()
253 authority, authority_len, path, path_len); in start_req()
330 req->authority ? req->authority : "", in Curl_h1_req_write_head()
H A Dcf-h1-proxy.c552 if(!authority) in CONNECT_host()
557 host_header = aprintf("Host: %s\r\n", authority); in CONNECT_host()
559 free(authority); in CONNECT_host()
563 *pauthority = authority; in CONNECT_host()
584 char *authority = NULL; /* for CONNECT */ in start_CONNECT() local
672 result = CONNECT_host(cf, data, &authority, &host_header); in start_CONNECT()
678 if(hyper_request_set_uri(req, (uint8_t *)authority, in start_CONNECT()
679 strlen(authority))) { in start_CONNECT()
695 authority, TRUE); in start_CONNECT()
698 Curl_safefree(authority); in start_CONNECT()
[all …]
H A Durlapi-int.h31 CURLUcode Curl_url_set_authority(CURLU *u, const char *authority);
H A Dhttp.h231 char *authority; member
243 const char *authority, size_t a_len,
H A Dcf-h2-proxy.c73 char *authority; member
100 ts->authority = /* host:port with IPv6 support */ in tunnel_stream_init()
103 if(!ts->authority) in tunnel_stream_init()
114 Curl_safefree(ts->authority); in tunnel_stream_clear()
967 infof(data, "Establish HTTP/2 proxy tunnel to %s", req->authority); in submit_CONNECT()
1033 DEBUGASSERT(ts->authority); in H2_CONNECT()
1038 CURL_TRC_CF(data, cf, "[0] CONNECT start for %s", ts->authority); in H2_CONNECT()
1119 DEBUGASSERT(ts->authority); in cf_h2_proxy_connect()
H A Dhttp.c4079 if(authority) { in Curl_http_req_make()
4080 req->authority = Curl_memdup0(authority, a_len); in Curl_http_req_make()
4081 if(!req->authority) in Curl_http_req_make()
4114 req->authority = NULL; in req_assign_url_authority()
4153 if(!req->authority) in req_assign_url_authority()
4262 free(req->authority); in Curl_http_req_free()
4325 if(req->authority) { in Curl_http_req_to_h2()
4326 authority = req->authority; in Curl_http_req_to_h2()
4331 authority = e->value; in Curl_http_req_to_h2()
4342 if(!result && authority) { in Curl_http_req_to_h2()
[all …]
H A Durlapi.c842 CURLUcode Curl_url_set_authority(CURLU *u, const char *authority) in Curl_url_set_authority() argument
847 DEBUGASSERT(authority); in Curl_url_set_authority()
850 result = parse_authority(u, authority, strlen(authority), in Curl_url_set_authority()
/curl/tests/unit/
H A Dunit2603.c46 const char *authority; member
110 check_eq(p.req->authority, t->authority, "authority"); in parse_success()
/curl/tests/http/
H A Dscorecard.py73 for authority in [
77 props[authority] = {}
96 props[authority][f'{ipv}-connect'] = mean(c_samples) \
98 props[authority][f'{ipv}-handshake'] = mean(hs_samples) \
100 props[authority][f'{ipv}-errors'] = errors
/curl/docs/libcurl/opts/
H A DCURLOPT_PROXY_SSL_VERIFYPEER.md45 authority (CA) certificates you supply. curl uses a default bundle of CA
H A DCURLOPT_DOH_SSL_VERIFYPEER.md50 authority (CA) certificates you supply. curl uses a default bundle of CA
H A DCURLOPT_SSL_VERIFYPEER.md44 authority (CA) certificates you supply. curl uses a default bundle of CA
H A DCURLOPT_HTTPHEADER.md90 the custom hostname is instead used in the ":authority" header field and
/curl/docs/libcurl/
H A Dcurl_url_set.md216 If set, skips authority checks. The RFC allows individual schemes to omit the
217 host part (normally the only mandatory part of the authority), but libcurl
219 permits empty authority sections, similar to how file scheme is handled.
/curl/docs/
H A DTODO623 curl only allows HTTP/2 push promise if the provided :authority header value
H A DFAQ360 5D992. It seems necessary to write them (the authority that administers ECCN

Completed in 41 milliseconds