mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 00:14:20 +09:00
now all chromium patches in all helium repos follow the same dir pattern: `<vendor>/<group>/<...>/<patch>` and there's no longer a "contrib" dir which was admittedly kind of confusing
17 lines
483 B
C++
17 lines
483 B
C++
--- a/net/proxy_resolution/pac_file_fetcher_impl.cc
|
|
+++ b/net/proxy_resolution/pac_file_fetcher_impl.cc
|
|
@@ -359,13 +359,6 @@ bool PacFileFetcherImpl::ConsumeBytesRea
|
|
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;
|