mirror of
https://github.com/curl/curl.git
synced 2026-08-02 10:30:28 +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
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