Re: Why WebdavSession close HttpConnection ?

Antoine Levy-Lambert <[email protected]> Wed, 21 Feb 2007 08:20:17 -0500
Newsgroups gmane.comp.jakarta.slide.devel
Message-ID <[email protected]>
Hello Guillaume,

you are right, WebdavSession.closeSession() closes the HttpConnection.

How would you like to change the code ?

Regards,

Antoine


On Feb 21, 2007, at 3:36 AM, Guillaume Bailleul wrote:

> Hi all,
>
> On the client side of my application I try to have a pool of
> HttpConnections to reduce to connection cost to the webdav server (I
> use https).
>
> Trying to use webdavclient lib, I found that WebdavSession was closing
> the HttpConnection on its closeSession.
> Is there a reason for that ? I think WebdavSession should release the
> connection in the HttpConnectionManager. Am I right ?
>
> Maybe I'm not on the good way...
>
> Thanks for your help,
>
> Guillaume
>