aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-20 14:33:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-20 23:06:45 +0200
commitb0143a2a33f0e577b1c2c9a407ac081418b5ea6b (patch)
treeef8d61a23c8829f6cc28ecc8014753b35cc6b28e /lib/multi.c
parent6a688976f07576ca8209dbe29fe2e93e2b41db8c (diff)
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.
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index a5790cb02..fcef2e10f 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1513,7 +1513,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
__LINE__));
/* read/write data if it is ready to do so */
- result = Curl_readwrite(data->easy_conn, &done);
+ result = Curl_readwrite(data->easy_conn, data, &done);
k = &data->req;