diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 01:13:22 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 01:13:22 +0000 |
commit | 083b0a6ce42c67ca904b025bef0c72b70e2de7b1 (patch) | |
tree | af9f84674193c70315abcaa774f0c783dd033284 /sandbox/src/filesystem_interception.h | |
parent | a31a86f053c3ff09f3cd047b165aef1d29749ea6 (diff) | |
download | chromium_src-083b0a6ce42c67ca904b025bef0c72b70e2de7b1.zip chromium_src-083b0a6ce42c67ca904b025bef0c72b70e2de7b1.tar.gz chromium_src-083b0a6ce42c67ca904b025bef0c72b70e2de7b1.tar.bz2 |
Add a constraint on how many requests can be outstanding for any given render process (browser-side).
Once the constraint is reached, subsequent requests will fail with net::ERR_INSUFFICIENT_RESOURCES.
The bound is defined as "25 MB", which represents the amount of private bytes we expect the pending requests to consume in the browser. This number translates into around 6000 typical requests.
Note that the upload data of a request is not currently considered part of the request's in-memory cost -- more data is needed on the average/maximum upload sizes of users before deciding what a compatible limit is.
BUG=5688
Review URL: http://codereview.chromium.org/18541
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/src/filesystem_interception.h')
0 files changed, 0 insertions, 0 deletions