mirror of
https://github.com/curl/curl.git
synced 2026-08-08 05:02:59 +03:00
cfilters: kill connection filter events attach+detach
Make transfer attach/detach to/from connections chepaer. - the "attach" event was no longer implemented by any filter - the "detach" did the same as the "done" event for the filters who still implemented it. It should be superfluous as the "done" must always happen. Closes #16067
This commit is contained in:
parent
f5f8f2c892
commit
cd9107e012
7 changed files with 0 additions and 46 deletions
|
|
@ -946,7 +946,6 @@ void Curl_detach_connection(struct Curl_easy *data)
|
|||
{
|
||||
struct connectdata *conn = data->conn;
|
||||
if(conn) {
|
||||
Curl_conn_ev_data_detach(conn, data);
|
||||
Curl_node_remove(&data->conn_queue);
|
||||
}
|
||||
data->conn = NULL;
|
||||
|
|
@ -967,7 +966,6 @@ void Curl_attach_connection(struct Curl_easy *data,
|
|||
Curl_llist_append(&conn->easyq, data, &data->conn_queue);
|
||||
if(conn->handler && conn->handler->attach)
|
||||
conn->handler->attach(data, conn);
|
||||
Curl_conn_ev_data_attach(conn, data);
|
||||
}
|
||||
|
||||
static int connecting_getsock(struct Curl_easy *data, curl_socket_t *socks)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue