mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:43:34 +03:00
progress: prevent resetting t_starttransfer
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
This commit is contained in:
parent
ef2a9f22cc
commit
f8f040e659
5 changed files with 142 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ UNITFILES = curlcheck.h \
|
|||
# These are all unit test programs
|
||||
UNITPROGS = unit1300 unit1301 unit1302 unit1303 unit1304 unit1305 unit1307 \
|
||||
unit1308 unit1309 unit1330 unit1394 unit1395 unit1396 unit1397 unit1398 \
|
||||
unit1399 \
|
||||
unit1600 unit1601 unit1602 unit1603 unit1604 unit1605 unit1606
|
||||
|
||||
unit1300_SOURCES = unit1300.c $(UNITFILES)
|
||||
|
|
@ -57,6 +58,9 @@ unit1397_CPPFLAGS = $(AM_CPPFLAGS)
|
|||
unit1398_SOURCES = unit1398.c $(UNITFILES)
|
||||
unit1398_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1399_SOURCES = unit1399.c $(UNITFILES)
|
||||
unit1399_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
unit1600_SOURCES = unit1600.c $(UNITFILES)
|
||||
unit1600_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue