tyrus icon indicating copy to clipboard operation
tyrus copied to clipboard

TyrusSession should cancel the IdleTimeoutFuture in cleanAfterClose

Open smillidge opened this issue 6 years ago • 1 comments

Currently if a session is closed the idleTimeoutFuture is not cancelled. This can lead to a build up of uncancelled tasks in the ManagedScheduledExecutorService which can cause memory exhaustion and is a potential DDOS attack route see https://github.com/payara/Payara/issues/2564

smillidge avatar Nov 17 '18 21:11 smillidge