Re: [jetty-users] Graceful shutdown for custom connections

2021-01-06 Thread Josh Spiegel
Hi Greg, Thanks for the response. In my case, I'm not using HTTP and it is Jetty 9 (so I think StatsHandler doesn't help me as it will not see my requests). But you gave me an idea for a workaround - my thought is to create a dummy handler: public class ShutDownHandler extends

Re: [jetty-users] Graceful shutdown for custom connections

2021-01-06 Thread Greg Wilkins
Josh, it is a little different in Jetty-9 vs jetty-10, but we may backport 10 changes to 9, so I will describe those. Typically a connector does not track requests, so it is not the connector that waits for requests to drain, but the StatsHandler instead. Any object in the component tree (the