Make sure QuicStreamSequencerBuffer only use 2048 blocks at most.
The old way of initialize QuicStreamSequencerBuffer::block_count_ may assign it to 2049 instead of 2048 (16MB / 8KB = 2k). This cl fix this bug and also make the condition check of a QUIC_BUG to check this value correctly. R=rch@chromium.org Merge internal change: 164489401, 174343515 Bug: Change-Id: Iaadc4084c470277d0f0882d75b4a61539c780aad Reviewed-on: https://chromium-review.googlesource.com/793977Reviewed-by:Ryan Hamilton <rch@chromium.org> Commit-Queue: Dan Zhang <danzh@chromium.org> Cr-Commit-Position: refs/heads/master@{#519814}
Showing
Please register or sign in to comment