Re: Problem with large write buffer

2009-05-20 Thread Daniel Stenberg
On Tue, 12 May 2009, Daniele Pianu wrote: > I'm working on a strem library which implements various kind of streams. All > SSH based streams are implemented using your great libssh2 library ;) Now > I'm trying to implement the SFTP protocol, but I've some problem when > uploading large files. T

Re: Problem with large write buffer

2009-05-14 Thread Daniel Stenberg
On Tue, 12 May 2009, Daniele Pianu wrote: > I'm working on a strem library which implements various kind of streams. All > SSH based streams are implemented using your great libssh2 library ;) Now > I'm trying to implement the SFTP protocol, but I've some problem when > uploading large files. T

Re: Problem with large write buffer

2009-05-13 Thread Daniel Stenberg
On Tue, 12 May 2009, Daniele Pianu wrote: > I'm working on a strem library which implements various kind of streams. All > SSH based streams are implemented using your great libssh2 library ;) Now > I'm trying to implement the SFTP protocol, but I've some problem when > uploading large files. T

Problem with large write buffer

2009-05-12 Thread Daniele Pianu
buffer from size [1048576] to size [2097152] Start flushing buffer: [1519424] bytes to flush Error flushing buffer: error [-30], [Timeout waiting for status message] [dani...@foo libssh2_sftp_test]$ In my stream library the implementation of the buffering write strategy is similar to the one use