mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00

... to avoid integer overflows later when multiplying with 1000 to convert seconds to milliseconds. Added test 1269 to verify. Reported-by: Jason Lee Closes #4166
35 lines
403 B
Plaintext
35 lines
403 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
--retry-delay
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<name>
|
|
too large --retry-delay value
|
|
</name>
|
|
<command>
|
|
--retry 3 --retry-delay 9223372036854776 http://%HOSTIP:%HTTPPORT/1269
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
2
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|