1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

Revert "multi_done: wait for name resolve to finish if still ongoing"

This reverts commit f3e03f6c0a.

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!
This commit is contained in:
Daniel Stenberg 2017-10-08 00:50:33 +02:00
parent 1e552535e1
commit b2df2d47e5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 6 deletions

View File

@ -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 */

View File

@ -18,3 +18,5 @@
1510
# Pipelining test that is causing false positives a little too often
1903
# causes memory leaks for now:
1553