]> granicus.if.org Git - curl/commit
timer: restore PRETRANSFER timing
authorDaniel Stenberg <daniel@haxx.se>
Tue, 20 Dec 2011 13:59:46 +0000 (14:59 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Dec 2011 13:59:46 +0000 (14:59 +0100)
commitce896875f89f66d8d1659d57e6d6f80c157c1071
tree07e608add7cc2a699570fe271e8d73a73f7edca9
parenteb6e9593c4153ca122c2eba32fde1c2319a14db7
timer: restore PRETRANSFER timing

Regression introduced in 7.23.0 with commit 9dd85bce. The function in
which the PRETRANSFER time stamp was recorded was moved in time causing
it be stored very quickly after the start timestamp. On most systems
shorter than 1 millisecond and thus it wouldn't even show with -w
"%{time_pretransfer}" using the command line tool.

Bug: http://curl.haxx.se/mail/archive-2011-12/0022.html
Reported by: Toni Moreno
lib/url.c