You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Christian Hufgard <ch...@gmx.de> on 2006/04/25 17:27:52 UTC

Re[2]: [commons-httpclient] setConnectionTimeout not working?

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