From b2df2d47e58d1150f11ea2f42aac6b84fa7f4d00 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 8 Oct 2017 00:50:33 +0200 Subject: Revert "multi_done: wait for name resolve to finish if still ongoing" This reverts commit f3e03f6c0ac52a1bf396e03f7d7e9b5b3b7165fe. Caused memory leaks in the fuzzer, needs to be done differently. Disable test 1553 for now too, as it causes memory leaks without this commit! --- lib/multi.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib') diff --git a/lib/multi.c b/lib/multi.c index c87515969..caceaf589 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -537,12 +537,6 @@ static CURLcode multi_done(struct connectdata **connp, /* Stop if multi_done() has already been called */ return CURLE_OK; - if(data->mstate == CURLM_STATE_WAITRESOLVE) { - /* done while still waiting for the resolve to complete */ - struct Curl_dns_entry *throw_away; - (void)Curl_resolver_wait_resolv(conn, &throw_away); - } - Curl_getoff_all_pipelines(data, conn); /* Cleanup possible redirect junk */ -- cgit v1.2.3