You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by vinod jadhav <vi...@gmail.com> on 2010/09/07 18:30:31 UTC

persistent connection with https (Apache commons-httpClient 3.0)

Hi ,

I am using the Apache commons-httpclient 3.0 library.

I have set the MultiThreadedHttpConnectionManager for httpSSLclient.

I expect here the httpsClient SSLSocket to remain alive , So that for
subsequent http request the same SSLSocket should be used.

But now when my https request gets completed , the HttpConnection.close()
method is invoked and the SSLSocket gets closed.

Hence always a new SSLSocket gets opened !

Can someone give me pointer if its limitation in HttpClient library  or how
to tackle it.

Thanks in Advance,
Vinod Jadhav

Re: persistent connection with https (Apache commons-httpClient 3.0)

Posted by James Carman <ja...@carmanconsulting.com>.
This is no longer the mailing list for HttpClient.  Check out:

http://hc.apache.org/httpclient-3.x/mail-lists.html


On Tue, Sep 7, 2010 at 12:30 PM, vinod jadhav <vi...@gmail.com> wrote:
> Hi ,
>
> I am using the Apache commons-httpclient 3.0 library.
>
> I have set the MultiThreadedHttpConnectionManager for httpSSLclient.
>
> I expect here the httpsClient SSLSocket to remain alive , So that for
> subsequent http request the same SSLSocket should be used.
>
> But now when my https request gets completed , the HttpConnection.close()
> method is invoked and the SSLSocket gets closed.
>
> Hence always a new SSLSocket gets opened !
>
> Can someone give me pointer if its limitation in HttpClient library  or how
> to tackle it.
>
> Thanks in Advance,
> Vinod Jadhav
>

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