commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas De Loof <nicolas.del...@capgemini.com>
Subject Re: [httpclient] How to set connection TO in 2.0.2 ?
Date Fri, 25 Nov 2005 09:56:29 GMT

Thanks for info.

Does "disabled" mean that if server is KO, the process will wait until 
beeing killed ?


Oleg Kalnichevski a écrit :

>On Fri, Nov 25, 2005 at 10:00:31AM +0100, Nicolas De Loof wrote:
>  
>
>>Hello,
>>
>>I've a problem on a production application that uses commons-httpclient 
>>: The target server I try to connect to is KO. I have to make the 
>>connection TimeOut configurable, but I don't know how to do it on 
>>httpclient 2.0 (HttpParams beeing a 3.0 feature)
>>
>>Ho do do this ? What is the default TO value ?
>>
>>    
>>
>
>Socket timeout:
>http://jakarta.apache.org/commons/httpclient/2.0/apidocs/org/apache/commons/httpclient/HttpClient.html#setTimeout(int)
>
>Connect timeout:
>http://jakarta.apache.org/commons/httpclient/2.0/apidocs/org/apache/commons/httpclient/HttpClient.html#setConnectionTimeout(int)
>
>Both values are set to zero (disabled) per default
>
>Oleg
>
>  
>
>>Nico.
>>
>>This message contains information that may be privileged or confidential 
>>and is the property of the Capgemini Group. It is intended only for the 
>>person to whom it is addressed. If you are not the intended recipient,  you 
>>are not authorized to read, print, retain, copy, disseminate,  distribute, 
>>or use this message or any part thereof. If you receive this  message in 
>>error, please notify the sender immediately and delete all  copies of this 
>>message.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>  
>

This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message