search for: buffer_append_check

Displaying 1 result from an estimated 1 matches for "buffer_append_check".

2007 Feb 18
8
[Bug 1286] SFTP keeps reading input until it runs out of buffer space
...portedBy: thuejk at gmail.com I had a problem with the sshfs connection dying all the time. I have tracked the problem down to the check if (newlen > BUFFER_MAX_LEN) fatal("buffer_append_space: alloc %u not supported", newlen); in buffer.c:buffer_append_check() The problem is that when sending a file data, sshfs will just keep sending without waiting for the server to catch up. This does not need to be a problem, as the sftp server should just stop receiving TCP packets when the buffers are full, causing TCP resends and automatically slowing down the s...