Subject: can the agent be freed just after userauth succeeded?

can the agent be freed just after userauth succeeded?

From: Ellié Computing Open Source Program <opensource_at_elliecomputing.com>
Date: Thu, 8 Mar 2012 21:00:31 +0100

Hi,

I am about to add support in libcurl for agent based authentication, I am missing some information. Is there a list of libssh2_agent_ API which might return EAGAIN, or might they all return EAGAIN?

Once libssh2_agent_userauth succeeded or failed on the last identity, can I immediately get rid of it with libssh2_agent_disconnect/free sequence? or do I need to wait for the end of the channel as in the sample.

Best regards
Armel

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-03-08