hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Mattox" <michael.mat...@verideon.com>
Subject Is it possible to set a timeout for HttpMethod.execute ?
Date Wed, 11 Jun 2003 20:19:31 GMT
I'm using HttpMethod.execute(state, connection) to execute a GET.  However
with Amazon.com it seems to hang occasionally.  Is it possible to set a
timeout for the execute method?  I had this same problem with SUN's
HttpURLConnection class.  It was blocking on a socket read.  This is one of
the reasons I switched to the Apache HttpClient and now I'm suprised to see
the same behavior!

Thanks,
Michael



Mime
View raw message