Commit 4f640a8f authored by Yutaka Hirano's avatar Yutaka Hirano Committed by Commit Bot

[fetch keepalive] Loosen the limit on the size of URL and headers

Based on UMA data we increase the threshold to 512kb.

Bug: 1018050
Change-Id: Ic4ca9b3d8a959610c5e187d0eefdc0ee02fe785a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1885853Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710231}
parent 02a8f4d0
...@@ -63,7 +63,7 @@ class URLLoaderFactory : public mojom::URLLoaderFactory { ...@@ -63,7 +63,7 @@ class URLLoaderFactory : public mojom::URLLoaderFactory {
static constexpr int kMaxKeepaliveConnections = 2048; static constexpr int kMaxKeepaliveConnections = 2048;
static constexpr int kMaxKeepaliveConnectionsPerProcess = 256; static constexpr int kMaxKeepaliveConnectionsPerProcess = 256;
static constexpr int kMaxTotalKeepaliveRequestSize = 256 * 1024; static constexpr int kMaxTotalKeepaliveRequestSize = 512 * 1024;
private: private:
// The NetworkContext that indirectly owns |this|. // The NetworkContext that indirectly owns |this|.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment