summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_win.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-29 01:35:16 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-29 01:35:16 +0000
commit9bf28dba03b1caaec0f64f54232e7f1acf4eaddf (patch)
treee9ed3ba489214d2c88884b5a059819e72df54413 /net/socket/tcp_client_socket_win.cc
parent6d60703bcc863062952c5907cddc649cd130c20b (diff)
downloadchromium_src-9bf28dba03b1caaec0f64f54232e7f1acf4eaddf.zip
chromium_src-9bf28dba03b1caaec0f64f54232e7f1acf4eaddf.tar.gz
chromium_src-9bf28dba03b1caaec0f64f54232e7f1acf4eaddf.tar.bz2
Control the amount of time to leave an unused socket idle before closing it.
This adds constructor arguments for socket idle timeouts. This allows me to control it for testing, and also makes it possible to run experiments on how long to enable it for. Currently I've set the timeout for unused sockets to 10 seconds, since that will cover 90% of the TCP RSTs we're seeing. We can probably increase this, but I'm waiting on histogram data to decide what to change it to. BUG=http://crbug.com/18192 Review URL: http://codereview.chromium.org/176021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_win.cc')
0 files changed, 0 insertions, 0 deletions