bool HttpBasicStream::GetLoadTimingInfo(
LoadTimingInfo* load_timing_info) const {
if (!state_.connection()->GetLoadTimingInfo(IsConnectionReused(),
load_timing_info) ||
!parser()) {
return false;
}.....
***************************************
IsConnectionReused function:
bool HttpBasicState::IsConnectionReused() const {
return connection_->is_reused() ||
connection_->reuse_type() == ClientSocketHandle::UNUSED_IDLE;
}
In Http1.1 request, reusing a preconnected connection(ClientSocketHandle::UNUSED_IDLE type) , the socket_reused fieled is judged as true.
So, this is an inconsistent behavior.