aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/multi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c
index e81f5aadd..9b1b574e3 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -582,6 +582,7 @@ static CURLcode multi_done(struct connectdata **connp,
!conn->bits.close) {
/* Stop if pipeline is not empty and we do not have to close
connection. */
+ data->easy_conn = NULL;
DEBUGF(infof(data, "Connection still in use, no more multi_done now!\n"));
return CURLE_OK;
}