aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1553
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-06-14 16:28:59 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-06-16 12:01:27 +0200
commitac9a179fe980f1a78438a791671e22671ebb6451 (patch)
tree4ac3b096f2d1ce523621175da41c0d41cfaf2525 /tests/data/test1553
parent676f4b742df634afc862a8e2ee9bd717d7efd03d (diff)
multi: fix memory leak when stopped during name resolve
When the application just started the transfer and then stops it while the name resolve in the background thread hasn't completed, we need to wait for the resolve to complete and then cleanup data accordingly. Enabled test 1553 again and added test 1590 to also check when the host name resolves successfully. Detected by OSS-fuzz. Closes #1968
Diffstat (limited to 'tests/data/test1553')
-rw-r--r--tests/data/test15534
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/data/test1553 b/tests/data/test1553
index c2fb9cc32..5e793b391 100644
--- a/tests/data/test1553
+++ b/tests/data/test1553
@@ -38,7 +38,9 @@ IMAP cleanup before a connection was created
<tool>
lib1553
</tool>
- <command>
+
+# this MUST use a host name that doesn't resolve
+<command>
imap://non-existing-host.haxx.se:%IMAPPORT/1553
</command>
</client>