Searched refs:uri_host (Results 1 – 2 of 2) sorted by relevance
75 char *uri_host; in get_request_headers() local81 uri_host = g_strdup_printf ("[%.*s]", (int) strcspn (uri->host, "%"), uri->host); in get_request_headers()83 uri_host = g_hostname_to_ascii (uri->host); in get_request_headers()85 uri_host = uri->host; in get_request_headers()89 uri_string = g_strdup_printf ("%s:%d", uri_host, uri->port); in get_request_headers()113 uri_host); in get_request_headers()116 uri_host, uri->port); in get_request_headers()120 if (uri_host != uri->host) in get_request_headers()121 g_free (uri_host); in get_request_headers()
603 char *uri_host; in print_request() local606 uri_host = g_strdup_printf ("[%s]", uri->host); in print_request()608 uri_host = g_hostname_to_ascii (uri->host); in print_request()610 uri_host = uri->host; in print_request()613 "Host: %s%c%u", uri_host, in print_request()617 if (uri_host != uri->host) in print_request()618 g_free (uri_host); in print_request()