aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c8
-rw-r--r--lib/url.h1
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/url.c b/lib/url.c
index 3b677f7fd..f3d21e869 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -159,6 +159,8 @@ static long ConnectionStore(struct SessionHandle *data,
static bool IsPipeliningPossible(struct SessionHandle *handle);
static void conn_free(struct connectdata *conn);
+static void signalPipeClose(struct curl_llist *pipe);
+
#define MAX_PIPELINE_LENGTH 5
#ifndef USE_ARES
@@ -1761,8 +1763,8 @@ CURLcode Curl_disconnect(struct connectdata *conn)
Curl_ssl_close(conn);
/* Indicate to all handles on the pipe that we're dead */
- Curl_signalPipeClose(conn->send_pipe);
- Curl_signalPipeClose(conn->recv_pipe);
+ signalPipeClose(conn->send_pipe);
+ signalPipeClose(conn->recv_pipe);
conn_free(conn);
@@ -1848,7 +1850,7 @@ bool Curl_isHandleAtHead(struct SessionHandle *handle,
return FALSE;
}
-void Curl_signalPipeClose(struct curl_llist *pipe)
+static void signalPipeClose(struct curl_llist *pipe)
{
struct curl_llist_element *curr;
diff --git a/lib/url.h b/lib/url.h
index ba26f0fcf..4b65a7ab7 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -64,7 +64,6 @@ void Curl_removeHandleFromPipeline(struct SessionHandle *handle,
struct curl_llist *pipe);
bool Curl_isHandleAtHead(struct SessionHandle *handle,
struct curl_llist *pipe);
-void Curl_signalPipeClose(struct curl_llist *pipe);
void Curl_close_connections(struct SessionHandle *data);