Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty 6 to Jetty 8: Change in ProxyServlet behaviour if destination port is closed


I am migrating an application which uses a ProxyServlet from Jetty 6 to Jetty 8. I have observed an change in behaviour. 

Scenario: The proxy tries to forward to a port that is closed on the destination host.
Jetty 6: The proxy returns immediately with status 500.
Jetty 8: The proxy returns after a long time with status 504.

I would prefer to get the instant return without any timeout, since if the port is closed it is very unlikely there will be a reply at all, at least in my case. Is there any way to get this behaviour in Jetty 8?

I believe I am asking the same question as in , but unfortunately that question was never answered.

Back to the top