CESNET / libnetconf

C NETCONF library
Other
113 stars 84 forks source link

Add eventfd support when accepting a new session using libssh channels #180

Closed plummer86 closed 8 years ago

plummer86 commented 8 years ago

Found that the nc_session transport_socket was not being set for sessions that are accepted using nc_session_accept_libssh_channel().

Needed so that the file descriptor can be returned from nc_session_get_eventfd().

michalvasko commented 8 years ago

I just changed it to fd_input and fd_output, we do not set transport_socket in server sessions.

Regards, Michal