DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7618>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7618 need a way to set time out when using HttpClient and HttpMultiClient ------- Additional Comments From [EMAIL PROTECTED] 2002-05-12 15:09 ------- Nah... cannot subclass HttpClient, since "connection" is declared as private (why not protected???) Rather I _copied_ HttpClient, and added this method: void setTimeout(int ms) { if ( connection == null ) { return; } try { connection.setSoTimeout(ms); } catch (SocketException ex) { ex.printStackTrace(); } } -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>