[ libssh2-Bugs-2823850 ] channel_read() bug

2009-07-19 Thread SourceForge.net
t the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: xiao pan (kakaxiao) Assigned to: Nobody/Anonymous (nobody) Summary: channel_read() bug Initial Comment: when I use libssh2_channel_exec() to execute a command like "ls -l"

Re: channel_read

2009-06-23 Thread Ben Kibbey
On Tue, Jun 23, 2009 at 07:45:58AM +0200, Daniel Stenberg wrote: > On Mon, 22 Jun 2009, Ben Kibbey wrote: > > > The problem is that _libssh2_transport_read() blocks until there is data to > > be read which causes libssh2_channel_write() and libssh2_channel_read() to > > block. If _libssh2_recv(

Re: channel_read

2009-06-22 Thread Daniel Stenberg
On Mon, 22 Jun 2009, Ben Kibbey wrote: > The problem is that _libssh2_transport_read() blocks until there is data to > be read which causes libssh2_channel_write() and libssh2_channel_read() to > block. If _libssh2_recv() could be made to always do a non-blocking read, > then restore the flags

Re: channel_read

2009-06-22 Thread Ben Kibbey
On Wed, Jun 10, 2009 at 09:15:59PM -0400, Ben Kibbey wrote: > hello, > > Theres a problem in _libssh2_transport_read() that when the calling > function loops over it's return value (>0 in channel_read()) and nread > != recv_amount but contains data, the next call to &g

channel_read

2009-06-10 Thread Ben Kibbey
hello, Theres a problem in _libssh2_transport_read() that when the calling function loops over it's return value (>0 in channel_read()) and nread != recv_amount but contains data, the next call to _libssh2_transport_read() will block while waiting for more data. For me, thi

[ libssh2-Bugs-2785173 ] channel_read returns LIBSSH2_ERROR_EAGAIN, no data on socket

2009-05-07 Thread SourceForge.net
copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: API Group: None >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Daniel Stenberg (bagder) Summary: chann

[ libssh2-Bugs-2785173 ] channel_read returns LIBSSH2_ERROR_EAGAIN, no data on socket

2009-05-01 Thread SourceForge.net
the comment thread, including the initial issue submission, for this request, not just the latest update. Category: API Group: None Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Daniel Stenberg (bagder) Summary: chann

[ libssh2-Bugs-2785173 ] channel_read returns LIBSSH2_ERROR_EAGAIN, no data on socket

2009-05-01 Thread SourceForge.net
the comment thread, including the initial issue submission, for this request, not just the latest update. Category: API Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Daniel Stenberg (bagder) Summary: channel_

[ libssh2-Bugs-2785173 ] channel_read returns LIBSSH2_ERROR_EAGAIN, no data on socket

2009-05-01 Thread SourceForge.net
the comment thread, including the initial issue submission, for this request, not just the latest update. Category: API Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Daniel Stenberg (bagder) Summary: chann

[ libssh2-Bugs-2785173 ] channel_read returns LIBSSH2_ERROR_EAGAIN, no data on socket

2009-05-01 Thread SourceForge.net
copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: API Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: channel_