[Libssh] [PATCH 0/2] Add ground to make libssh asynchronous

Aleksandar Kanchev aleksandar.kanchev at googlemail.com
Wed Jun 24 16:41:00 CEST 2009


This is a series of patches which add a generic poll support to libssh 
and demonstrates it's use. It is intended as a ground work for making 
libssh asynchronous.

The poll code could be used for:

    1. Making ssh_bind_listen() and ssh_bind_accept() asynchronous.
    2. Making the ssh server's authentication asynchronous
    3. Making ssh_message_get() [packet_read() and packet_write()]
       asynchronous. That way packets could be dispatched to a proper
       handler based on their type. For example to open a new channel, to
       re-initiate kex and so on (similar to OpenSSH's dispatcher).

regards,
Aleksandar Kanchev





More information about the Libssh mailing list