mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
file-local function should be static and not use Curl_ prefix!
Curl_signalPipeClose is now signalPipeClose().
This commit is contained in:
parent
9e54d4c7d2
commit
39e01e9349
@ -159,6 +159,8 @@ static long ConnectionStore(struct SessionHandle *data,
|
|||||||
static bool IsPipeliningPossible(struct SessionHandle *handle);
|
static bool IsPipeliningPossible(struct SessionHandle *handle);
|
||||||
static void conn_free(struct connectdata *conn);
|
static void conn_free(struct connectdata *conn);
|
||||||
|
|
||||||
|
static void signalPipeClose(struct curl_llist *pipe);
|
||||||
|
|
||||||
#define MAX_PIPELINE_LENGTH 5
|
#define MAX_PIPELINE_LENGTH 5
|
||||||
|
|
||||||
#ifndef USE_ARES
|
#ifndef USE_ARES
|
||||||
@ -1761,8 +1763,8 @@ CURLcode Curl_disconnect(struct connectdata *conn)
|
|||||||
Curl_ssl_close(conn);
|
Curl_ssl_close(conn);
|
||||||
|
|
||||||
/* Indicate to all handles on the pipe that we're dead */
|
/* Indicate to all handles on the pipe that we're dead */
|
||||||
Curl_signalPipeClose(conn->send_pipe);
|
signalPipeClose(conn->send_pipe);
|
||||||
Curl_signalPipeClose(conn->recv_pipe);
|
signalPipeClose(conn->recv_pipe);
|
||||||
|
|
||||||
conn_free(conn);
|
conn_free(conn);
|
||||||
|
|
||||||
@ -1848,7 +1850,7 @@ bool Curl_isHandleAtHead(struct SessionHandle *handle,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Curl_signalPipeClose(struct curl_llist *pipe)
|
static void signalPipeClose(struct curl_llist *pipe)
|
||||||
{
|
{
|
||||||
struct curl_llist_element *curr;
|
struct curl_llist_element *curr;
|
||||||
|
|
||||||
|
@ -64,7 +64,6 @@ void Curl_removeHandleFromPipeline(struct SessionHandle *handle,
|
|||||||
struct curl_llist *pipe);
|
struct curl_llist *pipe);
|
||||||
bool Curl_isHandleAtHead(struct SessionHandle *handle,
|
bool Curl_isHandleAtHead(struct SessionHandle *handle,
|
||||||
struct curl_llist *pipe);
|
struct curl_llist *pipe);
|
||||||
void Curl_signalPipeClose(struct curl_llist *pipe);
|
|
||||||
|
|
||||||
void Curl_close_connections(struct SessionHandle *data);
|
void Curl_close_connections(struct SessionHandle *data);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user