>
>
>  LOOP {
>
>   send READ packet
>
>   if EAGAIN, break loop
>
>   check for incoming READ RESPONSEs
>
>   if EAGAIN, break loop
>
>  }
>
>  This means we can't receiving data until all the READ packets sent.isthat ok?
 Why not send window adjust packet in _libssh2_channel_write() .
this behavior can be triggered by channel->adjust_state =
libssh2_NB_state_created.
 if (channel->adjust_state == libssh2_NB_state_created) {

        rc = _libssh2_channel_receive_window_adjust(channel,
            (LIBSSH2_CHANNEL_WINDOW_DEFAULT*60), 0, NULL);

}
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to