mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
parent
12d13b84fa
commit
b13a7a3ec4
8 changed files with 13 additions and 11 deletions
|
|
@ -225,9 +225,9 @@
|
|||
|
||||
/* Vista */
|
||||
#if (defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x600) && !defined(UNDER_CE)
|
||||
/* Define to 1 if you have a IPv6 capable working inet_ntop function. */
|
||||
/* Define to 1 if you have an IPv6 capable working inet_ntop function. */
|
||||
#define HAVE_INET_NTOP 1
|
||||
/* Define to 1 if you have a IPv6 capable working inet_pton function. */
|
||||
/* Define to 1 if you have an IPv6 capable working inet_pton function. */
|
||||
#define HAVE_INET_PTON 1
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ Curl_getaddrinfo_ex(const char *nodename,
|
|||
*
|
||||
* This function returns a pointer to the first element of a newly allocated
|
||||
* Curl_addrinfo struct linked list filled with the data of a given hostent.
|
||||
* Curl_addrinfo is meant to work like the addrinfo struct does for a IPv6
|
||||
* Curl_addrinfo is meant to work like the addrinfo struct does for an IPv6
|
||||
* stack, but usable also for IPv4, all hosts and environments.
|
||||
*
|
||||
* The memory allocated by this function *MUST* be free'd later on calling
|
||||
|
|
|
|||
|
|
@ -327,10 +327,10 @@
|
|||
/* Define to 1 if you have the <ifaddrs.h> header file. */
|
||||
#cmakedefine HAVE_IFADDRS_H 1
|
||||
|
||||
/* Define to 1 if you have a IPv6 capable working inet_ntop function. */
|
||||
/* Define to 1 if you have an IPv6 capable working inet_ntop function. */
|
||||
#cmakedefine HAVE_INET_NTOP 1
|
||||
|
||||
/* Define to 1 if you have a IPv6 capable working inet_pton function. */
|
||||
/* Define to 1 if you have an IPv6 capable working inet_pton function. */
|
||||
#cmakedefine HAVE_INET_PTON 1
|
||||
|
||||
/* Define to 1 if symbol `sa_family_t' exists */
|
||||
|
|
|
|||
|
|
@ -921,7 +921,7 @@ static void doh_show(struct Curl_easy *data,
|
|||
* This function returns a pointer to the first element of a newly allocated
|
||||
* Curl_addrinfo struct linked list filled with the data from a set of DoH
|
||||
* lookups. Curl_addrinfo is meant to work like the addrinfo struct does for
|
||||
* a IPv6 stack, but usable also for IPv4, all hosts and environments.
|
||||
* an IPv6 stack, but usable also for IPv4, all hosts and environments.
|
||||
*
|
||||
* The memory allocated by this function *MUST* be free'd later on calling
|
||||
* Curl_freeaddrinfo(). For each successful call to this function there
|
||||
|
|
|
|||
|
|
@ -1146,7 +1146,7 @@ static CURLcode ftp_state_use_port(struct Curl_easy *data,
|
|||
|
||||
#ifdef USE_IPV6
|
||||
if(!conn->bits.ftp_use_eprt && conn->bits.ipv6)
|
||||
/* EPRT is disabled but we are connected to a IPv6 host, so we ignore the
|
||||
/* EPRT is disabled but we are connected to an IPv6 host, so we ignore the
|
||||
request and enable EPRT again! */
|
||||
conn->bits.ftp_use_eprt = TRUE;
|
||||
#endif
|
||||
|
|
@ -1278,7 +1278,7 @@ static CURLcode ftp_state_use_pasv(struct Curl_easy *data,
|
|||
|
||||
#ifdef PF_INET6
|
||||
if(!conn->bits.ftp_use_epsv && conn->bits.ipv6)
|
||||
/* EPSV is disabled but we are connected to a IPv6 host, so we ignore the
|
||||
/* EPSV is disabled but we are connected to an IPv6 host, so we ignore the
|
||||
request and enable EPSV again! */
|
||||
conn->bits.ftp_use_epsv = TRUE;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue