NIO has a 'ChannelShouldQuiesceEvent' which channels can listen for in order to know when they should quiesce. This is typically used to initiate a graceful shutdown of an HTTP/2 server. However, child channels aren't notified of this event so HTTP/2 servers must keep track of streams separately in order to notify them when the server is quiescing.
Modifications:
Propagate the ChannelShouldQuiesceEvent to child channels
Result:
Child channels can watch for ChannelShouldQuiesceEvents
Motivation:
NIO has a 'ChannelShouldQuiesceEvent' which channels can listen for in order to know when they should quiesce. This is typically used to initiate a graceful shutdown of an HTTP/2 server. However, child channels aren't notified of this event so HTTP/2 servers must keep track of streams separately in order to notify them when the server is quiescing.
Modifications:
ChannelShouldQuiesceEvent
to child channelsResult:
Child channels can watch for
ChannelShouldQuiesceEvent
s