diff options
author | Tobias Hintze <th-git@thzn.de> | 2018-11-02 21:24:14 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-11-22 13:40:51 +0100 |
commit | 5b4cce2e36c01625ce193ea7e790c9b26b3cf0c8 (patch) | |
tree | 8a17941d9792462cacfdd16506a82305b4e06e5b /lib/urldata.h | |
parent | 23666978069dcd8dfcc7560c5cebe5410c5fdd81 (diff) |
host names: allow trailing dot in name resolve, then strip it
Delays stripping of trailing dots to after resolving the hostname.
Fixes #3022
Closes #3222
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index eae73a19f..448437d2a 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -828,6 +828,7 @@ struct connectdata { int socktype; /* SOCK_STREAM or SOCK_DGRAM */ struct hostname host; + char *hostname_resolve; /* host name to resolve to address, allocated */ char *secondaryhostname; /* secondary socket host name (ftp) */ struct hostname conn_to_host; /* the host to connect to. valid only if bits.conn_to_host is set */ |