Lines Matching defs:authority
233 infof(data, "Establish HTTP proxy tunnel to %s", req->authority);
543 char *authority; /* for CONNECT, the destination host + port */
544 char *host_header = NULL; /* Host: authority */
550 authority = aprintf("%s%s%s:%d", ipv6_ip?"[":"", hostname, ipv6_ip?"]":"",
552 if(!authority)
557 host_header = aprintf("Host: %s\r\n", authority);
559 free(authority);
563 *pauthority = authority;
584 char *authority = NULL; /* for CONNECT */
670 result = CONNECT_host(cf, data, &authority, &host_header);
674 infof(data, "Establish HTTP proxy tunnel to %s", authority);
676 if(hyper_request_set_uri(req, (uint8_t *)authority,
677 strlen(authority))) {
683 char *se = aprintf("CONNECT %s HTTP/1.1\r\n", authority);
693 authority, TRUE);
696 Curl_safefree(authority);
772 free(authority);