DescriptionFix bug which caused DNS time not to be reported by LoadTimingObserver.
The problem was the LogBoundConnectJobToRequest() sets
SOCKET_POOL_BOUND_TO_CONNECT_JOB after RemoveConnectJob() ends
SOCKET_POOL_CONNECT_JOB. Since there is no chance to return to the event loop,
it is safe (although fragile), to store the last connect job record and access
that on SOCKET_POOL_BOUND_TO_CONNECT_JOB.
Also, after fixing the DNS issue, it became apparent that what was being
measured as connect time actually included more than just the TCP connect. So I
fixed that as well.
BUG=50229
TEST=LoadTimingObserverTest.*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53945
Patch Set 1 #
Total comments: 3
Patch Set 2 : Revert connect phase change #
Total comments: 1
Patch Set 3 : Use constant instead of -1 #
Total comments: 1
Patch Set 4 : Indentation fix #
Messages
Total messages: 11 (0 generated)
|