hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saminda Abeyruwan <sami...@opensource.lk>
Subject SO_TIMEOUT Question
Date Fri, 30 Jun 2006 07:41:33 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Devs,

Is the following code,

httpClient.getHttpConnectionManager().getParams().setSoTimeout(soTimeout);

is same as

httpclient.getParams().setParameter("http.socket.timeout", new
Integer(soTimeout));

If so,

1. Do i have to do setHttpConnectionManager() before doing
getHttpConnectionManager() to the httpclient object.

2. If i put "0" as the input, does the so_timeout set for infinity.

Thank you

Saminda


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEpNWsYmklbLuW6wYRAh08AJ4pGX5lphlm7EUzOzU4bXkVCYzxOACgixkc
QwFI84oHGgCaztW2fsnOsKQ=
=ydUo
-----END PGP SIGNATURE-----

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


Mime
View raw message