From b0143a2a33f0e577b1c2c9a407ac081418b5ea6b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 20 May 2015 14:33:04 +0200 Subject: read_callback: move to SessionHandle from connectdata With many easy handles using the same connection for multiplexing, it is important we store and keep the transfer-oriented stuff in the SessionHandle so that callbacks and callback data work fine even when many easy handles share the same physical connection. --- lib/url.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index bc342b0f9..1b57ef102 100644 --- a/lib/url.c +++ b/lib/url.c @@ -5844,8 +5844,6 @@ static CURLcode create_conn(struct SessionHandle *data, * Inherit the proper values from the urldata struct AFTER we have arranged * the persistent connection stuff */ - conn->fread_func = data->set.fread_func; - conn->fread_in = data->set.in; conn->seek_func = data->set.seek_func; conn->seek_client = data->set.seek_client; -- cgit v1.2.3