forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit the number of pending requests to the max number of file descri…
…ptors. Each renderer is only allowed to use a fraction of that, so that one renderer doesn't DOS the rest. The limit improves behavior in edge cases and also imitates the functionality lost when ResourceLoadScheduler was nuked in Blink. That limit was fixed at 10k, which is larger than the number of FDs we support on many platforms. As part of this, I cleaned up the unit tests. Instead of checking in each test that we count 0 requests in flight (and missing a few tests), we just DCHECK that there are none in flight at destruction time. This exposed a bug with cross-process navigation, which I've also fixed. BUG=226319 Review URL: https://chromiumcodereview.appspot.com/13829004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199300 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
simonjam@chromium.org
committed
May 9, 2013
1 parent
485b0a6
commit c14eda9
Showing
11 changed files
with
312 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.