multi: fix crash due to dangling entry in connect-pending list

Fixes #2677
Closes #2679
This commit is contained in:
Javier Blazquez 2018-06-22 20:11:26 -07:00 committed by Daniel Stenberg
parent 146178a9df
commit 4c901638b4
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 109 additions and 2 deletions

View file

@ -175,7 +175,7 @@ test1520 test1521 \
test1525 test1526 test1527 test1528 test1529 test1530 test1531 test1532 \
test1533 test1534 test1535 test1536 test1537 test1538 \
test1540 \
test1550 test1551 test1552 test1553 test1554 test1555 test1556 \
test1550 test1551 test1552 test1553 test1554 test1555 test1556 test1557 \
\
test1590 \
test1600 test1601 test1602 test1603 test1604 test1605 test1606 test1607 \

36
tests/data/test1557 Normal file
View file

@ -0,0 +1,36 @@
<testcase>
<info>
<keywords>
multi
crash
</keywords>
</info>
<reply>
</reply>
<client>
<server>
none
</server>
<tool>
lib1557
</tool>
<name>
Removing easy handle that's in the pending connections list doesn't leave behind a dangling entry
</name>
<command>
nothing
</command>
</client>
#
# Verify that the test runs to completion without crashing
<verify>
<errorcode>
0
</errorcode>
</verify>
</testcase>