/curl/lib/ |
H A D | http_proxy.c | 90 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 D | http1.c | 139 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 D | cf-h1-proxy.c | 552 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 D | urlapi-int.h | 31 CURLUcode Curl_url_set_authority(CURLU *u, const char *authority);
|
H A D | http.h | 231 char *authority; member 243 const char *authority, size_t a_len,
|
H A D | cf-h2-proxy.c | 73 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 D | http.c | 4079 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 D | urlapi.c | 842 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 D | unit2603.c | 46 const char *authority; member 110 check_eq(p.req->authority, t->authority, "authority"); in parse_success()
|
/curl/tests/http/ |
H A D | scorecard.py | 73 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 D | CURLOPT_PROXY_SSL_VERIFYPEER.md | 45 authority (CA) certificates you supply. curl uses a default bundle of CA
|
H A D | CURLOPT_DOH_SSL_VERIFYPEER.md | 50 authority (CA) certificates you supply. curl uses a default bundle of CA
|
H A D | CURLOPT_SSL_VERIFYPEER.md | 44 authority (CA) certificates you supply. curl uses a default bundle of CA
|
H A D | CURLOPT_HTTPHEADER.md | 90 the custom hostname is instead used in the ":authority" header field and
|
/curl/docs/libcurl/ |
H A D | curl_url_set.md | 216 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 D | TODO | 623 curl only allows HTTP/2 push promise if the provided :authority header value
|
H A D | FAQ | 360 5D992. It seems necessary to write them (the authority that administers ECCN
|