Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] ProxyServlet.ProxyResponseListener.onFailure is not called on failure (9.1.4.v20140401)


On Wed, Apr 30, 2014 at 8:33 AM,  <info@xxxxxxxxxxxxx> wrote:
> Hi!
> I have been troubleshooting a ProxyServlet which always times out. After
> debugging a bit, I discovered the following:
> * ProxyServlet.ProxyResponseListener.onComplete is called, and the Result
> passed to onComplete contains a requestFailure and a responseFailure, both
> saying: " Response header too large".
> * ProxyServlet.ProxyResponseListener.onFailure is never called, even though
> the request failed.
> The javadoc for Response.Listener.Adapter.onComplete states:
> "This method is always invoked *after*
> Response.SuccessListener.onSuccess(Response) or
> Response.FailureListener.onFailure(Response, Throwable), and only when
> request indicates that it is completed."
> But in this case, onComplete is not called *after* onFailure, since
> onFailure is not called at all.
> Is this a bug?

Yes, please file an issue at


Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.

Back to the top