Connection timeout and keep alive timeout are different things.

Connection timeout determines the timeout until a connection is
established at client side and the  keep-Alive timeout determines the
timeout to close an idle connection, at server side.

You can see more about keep-alive in the RFC2616 spec:
http://tools.ietf.org/html/rfc2616#section-8.1

Alin

P.S. You should include your code snippets and logs in the mail body.

On 4 January 2012 07:59, Sreejith S <[email protected]> wrote:
> Hi all,
>
> I am using httpclient from org.apache.httpcomponents and the version is
> 4.1.2.
>
> I have some problems with the connection time out of HttpClient.Even if i
> am setting connection time out as 1000 ms , the connection will keep alive
> for 10 secs by defalut.
> Pls check out my pastebin for the code snippet and log.
> http://pastebin.com/W0PpzmWu
>
> Thank you,
>
> --
>
>
> *Sreejith.S*
> http://srijiths.wordpress.com/
> * *http://sreejiths.emurse.com/
>
> tweet2sree@twitter <http://tweet2Sree>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to