commit | bd747467855306565f58e4800d57a2115dd33104 | [log] [tgz] |
---|---|---|
author | QUICHE team <quiche-dev@google.com> | Tue Apr 16 14:29:38 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 16 14:53:06 2019 -0700 |
tree | 756dc8e65cb9d7a4c0d86f3e8575f0296ea35ff0 | |
parent | 1ece526b5ccee1b11bd7038e145f8bb96a7f55b0 [diff] |
Add functions to enable/disable QuartcPeer and obtain the last sequence numbers sent by each of its sources. These functions allow a test to stop sending and drain network traffic before closing the connection, by disabling both peers and waiting until each receives the sequence number last sent by the other. Note that this might not work perfectly on lossy networks, as the last message may be dropped. In this case, draining should use a timeout. For example, the receiver may stop waiting based if it does not receive any frames for an RTT. gfe-relnote: n/a (Quartc test-only) PiperOrigin-RevId: 243880014 Change-Id: I17eb39fe9db65138094be885ba2330936dbeac4e
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.