mirror of
https://github.com/curl/curl.git
synced 2026-07-26 02:37:16 +03:00
multi: fix add_handle resizing
Due to someone being stupid, the resizing of the multi's transfer table was actually shrinking it. Oh my. Add test751 to reproduce, add code assertion. Fixes #17473 Reported-by: Jeroen Ooms Closes #17475
This commit is contained in:
parent
698491f444
commit
d16ccbd55d
5 changed files with 132 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ test709 test710 test711 test712 test713 test714 test715 test716 test717 \
|
|||
test718 test719 test720 test721 test722 test723 test724 test725 test726 \
|
||||
test727 test728 test729 test730 test731 test732 test733 test734 test735 \
|
||||
test736 test737 test738 test739 test740 test741 test742 test743 test744 \
|
||||
test745 test746 test747 test748 test749 test750 \
|
||||
test745 test746 test747 test748 test749 test750 test751 \
|
||||
\
|
||||
test780 test781 test782 test783 test784 test785 test786 test787 test788 \
|
||||
test789 test790 test791 \
|
||||
|
|
|
|||
33
tests/data/test751
Normal file
33
tests/data/test751
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
MULTI
|
||||
</keywords>
|
||||
</info>
|
||||
<reply>
|
||||
<data>
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
# tool is what to use instead of 'curl'
|
||||
<tool>
|
||||
lib%TESTNUMBER
|
||||
</tool>
|
||||
|
||||
<name>
|
||||
multi - add many easy handles
|
||||
</name>
|
||||
<command>
|
||||
</command>
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue