Files
swift-nio-http2/Sources/NIOHTTP2
Cory Benfield 5f665cd9e2 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
2020-05-11 12:44:32 +01:00
..