[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using ssh_bind_set_callbacks


It is totally possible that the library misses some glue to integrate
ssh_binds in the event model. The last users who needed something
similar used a forked or a threading model.
I also think some callbacks are defined but not really implemented.

I will have a look asap, that requires a fix.

Aris

Le 15/07/15 23:13, Andreas Schneider a écrit :
> On Wednesday 15 July 2015 16:25:36 Phil Lello wrote:
>> Hi all,
>>
>> I'm currently developing my first server with libssh, but am a little
>> uncertain as the the use of ssh_bind_set_callbacks - there doesn't seem to
>> be a call to add the bind to ssh_event....
> That's a really good questions. It looks like the API is not complete.
>
> We have a ssh_bind_get_poll() function isn't called by anything so the 
> callback can't be triggered at all. Go with this example ...
>
> https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c
>


Follow-Ups:
Re: Using ssh_bind_set_callbacksИгорь Коваленко <igor.a.kovalenko@xxxxxxxxx>
References:
Using ssh_bind_set_callbacksPhil Lello <phil@xxxxxxxxxxxxxxx>
Re: Using ssh_bind_set_callbacksAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org