commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hufgard <>
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,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message