Lines Matching refs:authority
233 infof(data, "Establish HTTP proxy tunnel to %s", req->authority); in start_CONNECT()
543 char *authority; /* for CONNECT, the destination host + port */ in CONNECT_host() local
550 authority = aprintf("%s%s%s:%d", ipv6_ip ? "[":"", hostname, in CONNECT_host()
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()
676 infof(data, "Establish HTTP proxy tunnel to %s", authority); in start_CONNECT()
678 if(hyper_request_set_uri(req, (uint8_t *)authority, in start_CONNECT()
679 strlen(authority))) { in start_CONNECT()
685 char *se = aprintf("CONNECT %s HTTP/1.1\r\n", authority); in start_CONNECT()
695 authority, TRUE); in start_CONNECT()
698 Curl_safefree(authority); in start_CONNECT()
778 free(authority); in start_CONNECT()