Hi Dan:

Thanks. In fact the test does free all connections in between
transactions.

Best Regards,

Paul R.


Dan Fandrich wrote:

> On Thu, Sep 09, 2010 at 07:31:39PM -0700, Paul Romero wrote:
> > In your opinion, does using libssh_exit() at the end of a transaction
> > make a difference ?
>
> libssh2_exit is practically a no-op in the current implementation,
> so calling it won't make any difference to memory usage. But tearing
> down and closing all connections between operations would give the
> memory allocator a chance to combine more memory blocks and free up
> more contiguous space.
>
> >>> Dan
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

--
Paul Romero

RCOM Communications Software

Phone/Fax: (510)339-2628
E-Mail: [email protected]


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to