mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 23:15:08 -05:00
f8f040e659
Prevent `Curl_pgrsTime` from modifying `t_starttransfer` when invoked with `TIMER_STARTTRANSFER` more than once during a single request. When a redirect occurs, this is considered a new request and `t_starttransfer` can be updated to reflect the `t_starttransfer` time of the redirect request. Closes #1616 Bug: https://github.com/curl/curl/pull/1602#issuecomment-310267370
27 lines
243 B
Plaintext
27 lines
243 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
unittest
|
|
Curl_pgrsTime
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
unittest
|
|
</features>
|
|
<name>
|
|
Curl_pgrsTime unit tests
|
|
</name>
|
|
<tool>
|
|
unit1399
|
|
</tool>
|
|
</client>
|
|
|
|
</testcase>
|