Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transport: AdaptiveRecvByteBufAllocator does not correctly calculate … (
#13882) …initial buffer capacity in some cases Motivation: We did not correctly calculate the initial index sometimes which could lead to the initial buffer capacity to exceed the configured maximum size. Modifications: - Correctly calculate initialIndex - Add unit tests Result: Fixes #13722
- Loading branch information
1 parent
45a7543
commit 85cee9d
Showing
2 changed files
with
71 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters