commit | efc231cc0d8cbcba4caf0ebe15fda975a576f664 | [log] [tgz] |
---|---|---|
author | Steve Anton <steveanton@chromium.org> | Fri Nov 16 23:35:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 16 23:35:40 2018 |
tree | 7cd9c128d66237b75b31e16969975c0c2ffe2ac5 | |
parent | f83a74fe7d416d148926f43257a0816e700d4ccf [diff] |
Fix the P2PQuicTransport getting wedged under load When the P2PQuicTransport's packet writer gets an error from the underlying P2PTransportChannel, it will signal write blocked to the QUIC library. In order to resume sending, the P2PTransportChannel should indicate when it can start sending again. This CL fixes two problems: 1) Changes the writable signal from SignalWriteState to SignalReadyToSend. SignalReadyToSend is signaled by the underlying IPC socket when a Send would no longer cause an EAGAIN. 2) Changes the IPC socket to fire SignalReadyToSend only at the very end of the IPC handler so that the listener can back in to the P2PPacketSocket safely. Bug: 874296 Change-Id: I8276f60165928f77ca62243f3e5865897aa2cf6f Reviewed-on: https://chromium-review.googlesource.com/c/1330299 Commit-Queue: Steve Anton <steveanton@chromium.org> Reviewed-by: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#609024}
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 .