commit | 4b969a4960b730e9b66a827cb05457858a44e094 | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Mon Jul 22 15:59:14 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jul 23 08:14:20 2019 -0700 |
tree | 5cc35ea4c7d91f8b5a2be2ab52f15437d3671a20 | |
parent | 4a6b90530a50d27f625c171d7d128c44227da30e [diff] |
Call MarkConsumed() only once in QuicSpdyStreamBodyBuffer::MarkBodyConsumed() with a combined byte count. This is a small behavioral change in preparation for a future CL which will make MarkBodyConsumed() and also ReadBody() return the number of bytes to be consumed by the caller. Splitting out this change allows that future CL to be a pure API change. The ultimate motivation is much cleaner tests for QuicSpdyStreamBodyBuffer. gfe-relnote: n/a, change in QUIC v99-only code. PiperOrigin-RevId: 259424818 Change-Id: I1a96285ac7fcdfc9eae2768c9f2b64b82a323929
QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects.
The code is currently in process of being moved from https://cs.chromium.org/chromium/src/net/third_party/ into this repository. Please excuse our appearance while we're under construction.