Lines Matching defs:hostname
209 Curl_safefree(up->hostname);
1207 /* hostname and port must match */
1779 char *hostname;
1834 uc = curl_url_get(uh, CURLUPART_HOST, &data->state.up.hostname, 0);
1839 else if(strlen(data->state.up.hostname) > MAX_URL_LEN) {
1843 hostname = data->state.up.hostname;
1845 if(hostname && hostname[0] == '[') {
1851 hostname++;
1852 hlen = strlen(hostname);
1853 hostname[hlen - 1] = 0;
1859 conn->host.rawalloc = strdup(hostname ? hostname : "");
2870 * The hostname and the port may be empty; in this case, NULL is returned for
2871 * the hostname and -1 for the port.
2990 /* an empty hostname always matches */
2995 /* check whether the URL's hostname matches */
3034 /* parse the hostname and port to connect to */
3064 infof(data, "Connecting to hostname: %s", host);
3203 struct hostname *host;
3237 struct hostname *connhost;
3366 * things on the "remote-relevant" hostname. This is not necessarily
3370 * - we have a "connect-to" setting that may redirect the hostname of
3376 * used the original hostname in SNI to negotiate? Do we send
3521 * Process the "connect to" linked list of hostname/port mappings.