summaryrefslogtreecommitdiff
path: root/lib/connect.h
diff options
context:
space:
mode:
authorKlaus Crusius <klaus.crusius@web.de>2020-11-28 18:17:11 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-06 11:18:28 +0100
commit2c0d7212151bce7f51ffb83a78876c2ed224958a (patch)
tree216203f81099b6ea08f08e6d99cb56428e93a58e /lib/connect.h
parent7a6fdd503db481ce8c3b17520dbafaddffc9200f (diff)
downloadcurl-2c0d7212151bce7f51ffb83a78876c2ed224958a.tar.gz
ftp: retry getpeername for FTP with TCP_FASTOPEN
In the case of TFO, the remote host name is not resolved at the connetion time. For FTP that has lead to missing hostname for the secondary connection. Therefore the name resolution is done at the time, when FTP requires it. Fixes #6252 Closes #6265 Closes #6282
Diffstat (limited to 'lib/connect.h')
-rw-r--r--lib/connect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/connect.h b/lib/connect.h
index 8e6f57bee..9b1faf8fb 100644
--- a/lib/connect.h
+++ b/lib/connect.h
@@ -75,6 +75,8 @@ void Curl_sndbufset(curl_socket_t sockfd);
#endif
void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd);
+void Curl_conninfo_remote(struct connectdata *conn, curl_socket_t sockfd);
+void Curl_conninfo_local(struct connectdata *conn, curl_socket_t sockfd);
void Curl_persistconninfo(struct connectdata *conn);
int Curl_closesocket(struct connectdata *conn, curl_socket_t sock);