commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From florian.ra...@techem.de
Subject Antw: [HttpClient] Setting timeouts
Date Wed, 11 Dec 2002 13:21:12 GMT
Hi Thomas,

> How can I set the timeout on a http connection? The underlying socket
> connection has a  timeout value (setSoTimeout), but I cannot find any
> way of (re)setting this value in the HttpClient API.

Have a look in the source Code for HttpClient

http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java?rev=1.62&content-type=text/vnd.viewcvs-markup

There are several methods for setting timeout values. Be sure to have a nightly build for
this was implemented just some weeks ago: http://issues.apache.org/bugzilla/show_bug.cgi?id=10973

Flo





Mime
View raw message