users@jersey.java.net

[Jersey] Re: Slow redirects using HttpUrlConnection

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Tue, 23 Aug 2011 07:00:58 -0700 (PDT)

Gili wrote:
>
> Does anyone have any idea on what's going on? 500ms seems extremely slow
> for something as simple as URL redirects, especially when all
> communication is taking place on localhost.
>

I tracked it down to this stack-trace:

SocketInputStream.read() invoked by
BufferedInputStream.fill() invoked by
BufferedInputStream.read1() invoked by
BufferedInputStream.read() invoked by
HttpClient.parseHTTPHeader() invoked by
HttpURLConnection.getInputStream() invoked by
HttpURLConnection.getResponseCode() invoked by
URLConnectionClientHandler._invoke()

Still no idea why this is happening...

Gili

--
View this message in context: http://jersey.576304.n2.nabble.com/Slow-redirects-using-HttpUrlConnection-tp6712832p6716322.html
Sent from the Jersey mailing list archive at Nabble.com.