commit | 4d44d2be0eb693d9b477b476072011cc3b852a78 | [log] [tgz] |
---|---|---|
author | Min Qin <qinmin@chromium.org> | Tue Jul 17 20:41:16 2018 |
committer | Min Qin <qinmin@chromium.org> | Tue Jul 17 20:41:16 2018 |
tree | a915ec70250d5f0dba874cef00fb7ab6007554ef | |
parent | ed952c79fe3b19a30f3624bdb91c9fcab3527df9 [diff] |
Throttle url download requests from a RenderFrame RenderFrameImpl::DownloadUrl() can be abused to trigger a large number of download to overwhelm the browser process. This CL rate limits the number of download to a maximum of 10 per second. Bug: 860045 Change-Id: I490ae3a99eb59aef709b9f1e6be5eb0f787354f4 Reviewed-on: https://chromium-review.googlesource.com/1132485 Commit-Queue: Min Qin <qinmin@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#574078}(cherry picked from commit a13cb2a1020b933c070d9db84fbc48dae5b0e1c6) Reviewed-on: https://chromium-review.googlesource.com/1140457 Reviewed-by: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/branch-heads/3440@{#703} Cr-Branched-From: 010ddcfda246975d194964ccf20038ebbdec6084-refs/heads/master@{#561733}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .