commit | e85396116a940045df692f78687ac294b5a65dfd | [log] [tgz] |
---|---|---|
author | Nanami Mikiya <[email protected]> | Mon Jan 31 03:21:24 2022 |
committer | Chromium LUCI CQ <[email protected]> | Mon Jan 31 03:21:24 2022 |
tree | 040e0b036af5d7f4687b2cd85ac466eb16fc5016 | |
parent | be140f1740e19e4560c6bbfb8ae5d71f3b205a54 [diff] |
Fix the buffer size switching in WebSocket buffer_size_ should keep the CURRENT size of read_buffer_. Before this change, buffer_size_ is not updated and keeps the initial size till the end. It causes vain buffer reallocations when processing high throughput connections. The change in this CL makes buffer_size_ updated every time the size of read_buffer_ is switched. Change-Id: I924663165cb7996833a29313ce801b68e2c11829 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3423345 Reviewed-by: Adam Rice <[email protected]> Reviewed-by: Yutaka Hirano <[email protected]> Commit-Queue: Nanami Mikiya <[email protected]> Cr-Commit-Position: refs/heads/main@{#965056}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.