Subject: Re: sharing knownhosts structures between sessions

Re: sharing knownhosts structures between sessions

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 10 Dec 2013 14:16:10 +0100 (CET)

On Tue, 10 Dec 2013, Nicolas Martyanoff wrote:

> It would be nice to store the last error in the knownhosts structure, making
> it totally independant from the session structure.

It wouldn't be enough. libssh2 also supports setting up your own functions for
memory oprations as part of libssh2_session_init_ex() and the knownhost code
uses that as well - as all libssh2 code does.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-12-10