hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <mbe...@gmail.com>
Subject Re: Painfully slow socket buildup on Java 1.5
Date Mon, 04 Jul 2005 15:24:35 GMT
Hi Gábor,

I don't know of any issues with HttpClient and java 1.5, but I also do
not know how many people are using the two.  Could you put together
some sample code that exhibits this problem?  Also, do you know where
the stall is happening: opening the connection, writing the request,
reading the response?  Are you using SSL perhaps?

Mike

On 7/4/05, Gábor SEBESTYÉN <segabor@gmail.com> wrote:
> Hi,
> 
> After resolving my proxy problem here's a new one. My applet built on
> HttpClient 3.0r3 works well on Java 1.4.2 but on 1.5 it extremely
> slows down and I get the following log entries:
> 
> network: Connecting socket://195.184.xxx.xxx:80 with proxy=DIRECT
> [WARNING] slow HTTP response: 4.577 secs
> network: Connecting socket://195.184.xxx.xxx:80 with proxy=DIRECT
> [WARNING] slow HTTP response: 4.567 secs
> network: Connecting socket://195.184.xxx.xxx:80 with proxy=DIRECT
> [WARNING] slow HTTP response: 4.647 secs
> network: Connecting socket://195.184.xxx.xxx:80 with proxy=DIRECT
> [WARNING] slow HTTP response: 4.576 secs
> 
> Warnings are mine displaying the method.executeMethod() speed. And
> it's terribly slow. Having about 5 seconds to do a simple request is
> more than unacceptable. I repeat no such an error on Java 1.4.2 on
> every platform ( Win / Mac / else :)) ).
> 
> Please help what causes this on Java 1.5. The version is 1.5.0 (build
> 1.5.0_02-b09 / Win2000).
> Thanks,
> 
>      Gábor
> 
> 
> To be is to do. - Socrates
> To do is to be. - Sartre
> Do be do be do. - Sinatra
> 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message