Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Fwd: Jetty Client 9.04 threads

Hi,

On Fri, Jul 19, 2013 at 3:32 PM, Kamil Gorlo <kgorlo@xxxxxxxxx> wrote:
> Hmm, so onResponseHeaders is called multiple times if there are
> multiple redirects?

Ah, you got me. Since the redirects is handled by a protocol handler,
it is not called.
My example was wrong.

Please file an issue with your use case at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Jetty, so we don't
forget.
I have to think what is the best solution for your case.

> Also, do yo know any async dns resolver? Does Jetty use sync or async
> DNS resolving?

Jetty does it asynchronously for what is possible, see
http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/util/SocketAddressResolver.html

--
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


Back to the top