aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connect.h')
-rw-r--r--lib/connect.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/connect.h b/lib/connect.h
index 5e48eb644..e01d1b35e 100644
--- a/lib/connect.h
+++ b/lib/connect.h
@@ -52,6 +52,11 @@ time_t Curl_timeleft(struct Curl_easy *data,
curl_socket_t Curl_getconnectinfo(struct Curl_easy *data,
struct connectdata **connp);
+/*
+ * Check if a connection seems to be alive.
+ */
+bool Curl_connalive(struct connectdata *conn);
+
#ifdef USE_WINSOCK
/* When you run a program that uses the Windows Sockets API, you may
experience slow performance when you copy data to a TCP server.