multi: conn goes bad when data change
authorDaniel Stenberg <daniel@haxx.se>
Sat, 2 Apr 2011 21:44:11 +0000 (23:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 2 Apr 2011 21:44:11 +0000 (23:44 +0200)
commitc2459c4328e14b40b4274f74f8ee60bf7a231f84
tree23b014755b6c4dbc948cb2c04c9ae33d219243c1
parentc37ad9e909aa700394d2d38797d3043f537f64e6
multi: conn goes bad when data change

Within multi_socket when conn is used as a shorthand, data could be
changed and multi_runsingle could modify the connectdata struct to deal
with. This bug has not been included in a public release.

Using 'conn' like that turned out to be ugly. This change is a partial
revert of commit f1c6cd42f474df59.

Reported by: Miroslav Spousta
Bug: http://curl.haxx.se/bug/view.cgi?id=3265485
lib/multi.c