netty5/codec-http2
Norman Maurer 0cf919c389
HTTP2: Guard against multiple ctx.close(...) calls with the same ChannelPromise (#10201)
Motivation:

Http2ConnectionHandler may call ctx.close(...) with the same promise instance multiple times if the timeout for gracefulShutdown elapse and the listener itself is notified. This can cause problems as other handlers in the pipeline may queue these promises and try to notify these later via setSuccess() or setFailure(...) which will then throw an IllegalStateException if the promise was notified already

Modification:

- Add boolean flag to ensure doClose() will only try to call ctx.close(...) one time

Result:

Don't call ctx.close(...) with the same promise multiple times when gradefulShutdown timeout elapses.
2020-04-23 11:25:39 +02:00
..
src HTTP2: Guard against multiple ctx.close(...) calls with the same ChannelPromise (#10201) 2020-04-23 11:25:39 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2020-04-22 09:57:54 +00:00