You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DefaultHttp2RemoteFlowController.ListenerWritabilityMonitor no longer reliably detects when a stream's writability change occurs. ListenerWritabilityMonitor was implemented to avoid duplicating iteration over all streams when possible and instead was relying on the PriorityStreamByteDistributor to call write for each stream during its iteration process. However the new StreamByteDistributor classes do not do an iteration over all active streams and so this assumption is now invalid.
The impact is isolated to stream writability change notifications and has no impact unless you explicitly add a listener, and use an allocator other than PriorityStreamByteDistributor.
The text was updated successfully, but these errors were encountered:
…on broken
Motivation:
DefaultHttp2RemoteFlowController.ListenerWritabilityMonitor no longer reliably detects when a stream's writability change occurs.
Modifications:
- Ensure writiability is reliabily reported by DefaultHttp2RemoteFlowController.ListenerWritabilityMonitor
- Fix infinite loop issue (netty#4588) detected when consolidating unit tests
Result:
Reliable stream writability change notification, and 1 less infinite loop in UniformStreamByteDistributor.
Fixesnetty#4587
DefaultHttp2RemoteFlowController.ListenerWritabilityMonitor
no longer reliably detects when a stream's writability change occurs.ListenerWritabilityMonitor
was implemented to avoid duplicating iteration over all streams when possible and instead was relying on thePriorityStreamByteDistributor
to callwrite
for each stream during its iteration process. However the newStreamByteDistributor
classes do not do an iteration over all active streams and so this assumption is now invalid.The impact is isolated to stream writability change notifications and has no impact unless you explicitly add a listener, and use an allocator other than
PriorityStreamByteDistributor
.The text was updated successfully, but these errors were encountered: