diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-16 19:38:27 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-16 19:38:27 +0000 |
commit | fb123bc8253f4886799101007d47a3a209b65b59 (patch) | |
tree | 918a9fc7d9a47f22594cdc69e97a4e245f022c14 /chrome_frame/utils.h | |
parent | 16ce91fc01733f1056c514155b2110e1618ceb5c (diff) | |
download | chromium_src-fb123bc8253f4886799101007d47a3a209b65b59.zip chromium_src-fb123bc8253f4886799101007d47a3a209b65b59.tar.gz chromium_src-fb123bc8253f4886799101007d47a3a209b65b59.tar.bz2 |
Bump up the number of simultaneous connections in IE to 6. This is done via a WinInet API
InternetSetOption.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=50328
BUG=50328
TEST=none
Review URL: http://codereview.chromium.org/6480092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/utils.h')
-rw-r--r-- | chrome_frame/utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h index 5847917..47f0929 100644 --- a/chrome_frame/utils.h +++ b/chrome_frame/utils.h @@ -618,4 +618,11 @@ std::wstring GetCurrentModuleVersion(); // Returns true if ChromeFrame is the currently loaded document. bool IsChromeFrameDocument(IWebBrowser2* web_browser); +// Increases the wininet connection limit for HTTP 1.0/1.1 connections to the +// value passed in. This is only done if the existing connection limit is +// lesser than the connection limit passed in. This function attempts to +// increase the connection count once per process. +// Returns true on success. +bool IncreaseWinInetConnections(DWORD connections); + #endif // CHROME_FRAME_UTILS_H_ |