mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 08:24:04 +09:00
Remove PAC size limit (#3203)
This commit is contained in:
16
patches/extra/ungoogled-chromium/remove-pac-size-limit.patch
Normal file
16
patches/extra/ungoogled-chromium/remove-pac-size-limit.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
--- a/net/proxy_resolution/pac_file_fetcher_impl.cc
|
||||
+++ b/net/proxy_resolution/pac_file_fetcher_impl.cc
|
||||
@@ -359,13 +359,6 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
- // Enforce maximum size bound.
|
||||
- if (num_bytes + bytes_read_so_far_.size() >
|
||||
- static_cast<size_t>(max_response_bytes_)) {
|
||||
- result_code_ = ERR_FILE_TOO_BIG;
|
||||
- request->Cancel();
|
||||
- return false;
|
||||
- }
|
||||
|
||||
bytes_read_so_far_.append(buf_->data(), num_bytes);
|
||||
return true;
|
||||
@@ -108,3 +108,4 @@ extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch
|
||||
extra/ungoogled-chromium/disable-downloads-page-referrer-url.patch
|
||||
extra/ungoogled-chromium/enable-extra-locales.patch
|
||||
extra/ungoogled-chromium/disable-chromelabs.patch
|
||||
extra/ungoogled-chromium/remove-pac-size-limit.patch
|
||||
|
||||
Reference in New Issue
Block a user