Community
Participate
Working Groups
The jetty-continuation ContinuationFilter does not appear to be working correctly when deployed on jetty-6. The scenario: Deploy the jetty-7 ProxyServlet and configure the ContinuationFilter on jetty-6. Requests to the ProxyServlet hit the proxied server and the reply comes back just fine, yet the ProxyServlet always returns 504 Gateway Timeout to the requestor. The only place this happens in the ProxyServlet code is when a Continuation is replayed and we check continuation.isInitial(). In fact, as the proxy request completes ok, and calls continuation.complete() the Continuation should not be replayed into the servlet.
The jetty-6 continuation handling was still allowing a completed request to be passed to the servlet. The fix was to make enter() return !_complete r2236