a091d9df4e
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. |
||
---|---|---|
.. | ||
src | ||
pom.xml |