Subject: Re: [PATCH] Send internal packet priority

Re: [PATCH] Send internal packet priority

From: liuzl <xieepp_at_gmail.com>
Date: Fri, 9 Sep 2011 17:22:51 +0800

>
>
> 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
Received on 2011-09-09