multi_done: if multiplexed, make conn->data point to another transfer
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 25 Sep 2020 08:04:59 +0000 (17:04 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 25 Sep 2020 08:05:01 +0000 (17:05 +0900)
commit44b97d568351daa1741b591bf0c3ab754ad07060
tree53895bb473643f40f581af84566f927659941e9d
parent1005a0359d3edbd8c0e178517bc606ccf0318b8f
multi_done: if multiplexed, make conn->data point to another transfer

... since the current transfer is being killed. Setting to NULL is
wrong, leaving it pointing to 'data' is wrong since that handle might be
about to get freed.

Fixes #4845
Closes #4858
Reported-by: dmitrmax on github
Change-Id: Ic03d65132e8116b0423d8b6715207d2dd04c7c5b
lib/multi.c
lib/url.c