netty5/codec-http2/src
Norman Maurer cd7670dcaa HTTP2: Always apply the graceful shutdown timeout if configured (#9340)
Motivation:

Http2ConnectionHandler (and sub-classes) allow to configure a graceful shutdown timeout but only apply it if there is at least one active stream. We should always apply the timeout. This is also true when we try to send a GO_AWAY and close the connection because of an connection error.

Modifications:

- Always apply the timeout if one is configured
- Add unit test

Result:

Always respect gracefulShutdownTimeoutMillis
2019-07-09 21:06:22 +02:00
..
main HTTP2: Always apply the graceful shutdown timeout if configured (#9340) 2019-07-09 21:06:22 +02:00
test HTTP2: Always apply the graceful shutdown timeout if configured (#9340) 2019-07-09 21:06:22 +02:00