-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make HTTP2StreamChannel.isActive thread safe (#199)
Motivation: All public parts of the Channel protocol, such as isActive, are required to be thread safe. Unfortunately, we missed a spot with the isActive bool on HTTP2StreamChannel. Modifications: Back the HTTP2StreamChannel.isActive bool with an atomic, and set it on state change. Result: Thread-safety for public readers of channel activity
- Loading branch information
Showing
1 changed file
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters