commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hufgard <christian.hufg...@gmx.de>
Subject Re[2]: [commons-httpclient] setConnectionTimeout not working?
Date Tue, 25 Apr 2006 15:27:52 GMT
Hi Alex,

>> Is there a way I could measure connection time and not a full request time?

> Yes, there is. Just implement a custom socket factory

Like I wrote before, I use a BufferedInputStream, read the data within
a loop and check for the reading time manually.

Might be easier than writing or extending a socket factory.


-- 
Best regards,
 Christian                            mailto:christian.hufgard@gmx.de


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


Mime
View raw message