commit | fd2efc13427db48d7ffc9457e38e06ca1dc55257 | [log] [tgz] |
---|---|---|
author | Seth Hampson <shampson@chromium.org> | Tue Nov 06 19:22:52 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 06 19:22:52 2018 |
tree | adcdf907890e2bd1d475af6263f36d8a767c593c | |
parent | 0b37ebfc2a8c9e8a709c69d8668f8c3a282e2ba9 [diff] |
P2PQuicStream read functionality. This adds the P2PQuicStream::Delegate::OnDataReceived and adds tests. It also adds the concept of marking data as consumed by the application and keeping track of the application's read buffered size and amount. This ensures that the P2PQuicStream does not give the application more data than it can buffer, and if its buffer is full it will apply backpressure to the send side. Bug: 874296 Change-Id: I85f677778631a04a5eb1ccd71457485c9444824e Reviewed-on: https://chromium-review.googlesource.com/c/1316836 Commit-Queue: Seth Hampson <shampson@chromium.org> Reviewed-by: Henrik Boström <hbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#605783}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .