diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-14 08:37:32 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-14 08:37:32 +0000 |
commit | 6b624c635e92dd4b5fe215ef764fd6f12dcbd0b7 (patch) | |
tree | 61b4eb06ecdc407f6932b8178f347ae344455315 /net/base | |
parent | caa55f3e114021dccc1935ed6fbac6247dca3eb7 (diff) | |
download | chromium_src-6b624c635e92dd4b5fe215ef764fd6f12dcbd0b7.zip chromium_src-6b624c635e92dd4b5fe215ef764fd6f12dcbd0b7.tar.gz chromium_src-6b624c635e92dd4b5fe215ef764fd6f12dcbd0b7.tar.bz2 |
When connect takes too long for a new socket group, issue a single
backup socket request to retry the connect. This reduces latency in the
presence of packet loss.
BUG=36629
TEST=TCPClientSocketPoolTest.BackupSocket*
Review URL: http://codereview.chromium.org/842004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41543 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/load_log_event_type_list.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/base/load_log_event_type_list.h b/net/base/load_log_event_type_list.h index 99d1e63..be43760 100644 --- a/net/base/load_log_event_type_list.h +++ b/net/base/load_log_event_type_list.h @@ -118,6 +118,12 @@ EVENT_TYPE(SOCKET_POOL_STALLED_MAX_SOCKETS) // The request stalled because there are too many sockets in the group. EVENT_TYPE(SOCKET_POOL_STALLED_MAX_SOCKETS_PER_GROUP) +// A backup socket is created due to slow connect +EVENT_TYPE(SOCKET_BACKUP_CREATED) + +// A backup socket is created due to slow connect +EVENT_TYPE(SOCKET_BACKUP_TIMER_EXTENDED) + // ------------------------------------------------------------------------ // URLRequest // ------------------------------------------------------------------------ |