Http2Session.onGoAway

This method is called when receiving a GO_AWAY from the other peer. We check the close state to act appropriately: <ul> <li>NOT_CLOSED: we move to REMOTELY_CLOSED and queue a disconnect, so that the content of the queue is written, and then the connection closed. We notify the application after being terminated. See <code>Http2Session.ControlEntry#succeeded()</code></li> <li>In all other cases, we do nothing since other methods are already performing their actions.</li> </ul>

@param frame the GO_AWAY frame that has been received. @see #close(int, string, Callback) @see #onShutdown() @see #onIdleTimeout()

class Http2Session
override
void
onGoAway
(
GoAwayFrame frame
)

Meta