Bugs item #2133354, was opened at 2008-09-27 22:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2133354&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Paul Thomas (thomaspu)
Assigned to: Nobody/Anonymous (nobody)
Summary: libssh2_poll_channel_read doesn't work correctly

Initial Comment:
The libssh2_poll_channel_read doesn't read both normal and extended data when 
called like so...

libssh2_poll_channel_read( <libssh2 channel ptr>, 1);

As taken from the wiki:
"...When set to a non-zero value, the extended data stream buffers will be 
scanned as well"

I read that as: if you set the 2nd item to a non-zero value, both normal and 
extended data is read. This isn't the case, it reads normal data or extended 
but Not both.

Attached is a patch to fix this issue.
Paul

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2133354&group_id=125852

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to