No block direction in _libssh2_wait_socket?

2021-07-15 Thread Evan M
Hi all, I am trying to understand the following code from _libssh2_wait_socket: https://github.com/libssh2/libssh2/blob/a88a727c2a1840f979b34f12bcce3d55dcd7ea6e/src/session.c#L598-L607 /* figure out what to wait for */ dir = libssh2_session_block_directions(session); if(!dir) {

Re: No block direction in _libssh2_wait_socket?

2021-07-17 Thread Evan M
Perfect, thank you for clarifying. On Fri, Jul 16, 2021 at 5:19 AM Daniel Stenberg wrote: > > On Thu, 15 Jul 2021, Evan M wrote: > > > Are there any normal situations where this could occur other than a bug in > > the library? > > No. It should probably even have an a