diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-20 00:00:40 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-20 00:00:40 +0000 |
commit | 7d5738c000289121ebc5e3a303fd9b9e04300b7b (patch) | |
tree | 9a5a9bf18c39862e370832b7721a386e9fea7976 /net | |
parent | 15439c427e330329f5171063768add65d9d3f655 (diff) | |
download | chromium_src-7d5738c000289121ebc5e3a303fd9b9e04300b7b.zip chromium_src-7d5738c000289121ebc5e3a303fd9b9e04300b7b.tar.gz chromium_src-7d5738c000289121ebc5e3a303fd9b9e04300b7b.tar.bz2 |
Add a warning comment to prevent increasing
kCleanupInterval.
R=eroman
BUG=4606
Review URL: http://codereview.chromium.org/20517
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10064 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/client_socket_pool.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/base/client_socket_pool.cc b/net/base/client_socket_pool.cc index 41c1b7f..d3629d5 100644 --- a/net/base/client_socket_pool.cc +++ b/net/base/client_socket_pool.cc @@ -15,7 +15,11 @@ namespace { // The timeout value, in seconds, used to clean up idle sockets that can't be // reused. -const int kCleanupInterval = 10; +// +// Note: It's important to close idle sockets that have received data as soon +// as possible because the received data may cause BSOD on Windows XP under +// some conditions. See http://crbug.com/4606. +const int kCleanupInterval = 10; // DO NOT INCREASE THIS TIMEOUT. // The maximum duration, in seconds, to keep idle persistent sockets alive. const int kIdleTimeout = 300; // 5 minutes. |