Peter Stuge 683aa0f6b5 Fix transport layer bug causing invalid -39 (LIBSSH2_ERROR_BAD_USE) errors
The channel layer sends packets using the transport layer, possibly
calling _libssh2_transport_write() many times for each packet.

The transport layer uses the send_existing() helper to send out any
remaining parts of previous packets before a new packet is started.

The bug made send_existing() consider the entire packet sent as soon as it
successfully sent the second part of a packet, even if the packet was not
completely done yet.
2009-09-20 00:30:42 +02:00
..
2008-11-21 08:23:54 +00:00
2009-06-04 18:20:29 +02:00
2009-08-30 17:06:57 +02:00
2009-09-19 22:39:50 +02:00
2009-08-30 17:06:57 +02:00
2009-08-24 23:50:53 +02:00