I would like to cancel or stop the thread where the request came in X seconds ago e.g. to avoid overloading of the system and improve overall stability. Is that possible with jetty >= 9?
I tried connector0.setIdleTimeout
but it does not seem to have any effect e.g. setting it to 1000 (ms) and delaying my response 10000ms should result in a timeout but does not.
I have found similar questions on the mailing list here and here and related SO questions are here, here and here but all without a inbuilt solution from jetty.
Can't I set the read timeout of the socket somehow?
Or is this statement from the mailing list correct:
the servlet spec does not allow jetty to interrupt a dispatched thread