search for: ssh2_fx_eof

Displaying 5 results from an estimated 5 matches for "ssh2_fx_eof".

2008 Apr 15
3
[Bug 1458] New: sftping files from SSH Tectia Server 6.0.0 hangs forever
...d SSH Tectia Server 6.0.0. sftping files from this system fails with the trace attached (with private info such as pathnames and filenames replaced with [...]). The file in question here is 8764 bytes long, but once the server's sent that, requests for more data do not lead to it sending us an SSH2_FX_EOF status packet, but rather a packet of length *zero*. This doesn't let us make any forward progress, so we keep requesting more data forever. From the user's POV, sftp freezes solid with a saturated network. I suspect that the problem is that this server hasn't been tested against sftp...
2002 Jan 03
3
[PATCH] Improving sftp client performance
...y T:%d I:%d", type, id); - if (id != expected_id) - fatal("ID mismatch (%d != %d)", id, expected_id); - if (type == SSH2_FXP_STATUS) { + reply = find_request(req, num_req, id); + + switch (type) { + case SSH2_FXP_STATUS: status = buffer_get_int(&msg); + if (status != SSH2_FX_EOF) + read_error = 1; + max_req = 0; + remove_request(req, &num_req, reply); + break; + case SSH2_FXP_DATA: + data = buffer_get_string(&msg, &len); + if (len > req[reply].len) + fatal("Received more data than asked for " + "%d > %d", len,...
2009 Feb 12
2
[patch 1/3] add protocol extension to ATTR message
...0x00000040 +#define SSH2_FXE_EXTATTR_ATIMENSEC 0x00000080 +#define SSH2_FXE_EXTATTR_MTIME 0x00000100 +#define SSH2_FXE_EXTATTR_MTIMENSEC 0x00000200 +#define SSH2_FXE_EXTATTR_CTIME 0x00000400 +#define SSH2_FXE_EXTATTR_CTIMENSEC 0x00000800 + /* status messages */ #define SSH2_FX_OK 0 #define SSH2_FX_EOF 1 Index: ssh/sftp-client.c =================================================================== --- ssh.orig/sftp-client.c 2009-02-12 14:11:30.000000000 +0100 +++ ssh/sftp-client.c 2009-02-12 14:11:37.000000000 +0100 @@ -1201,6 +1201,7 @@ do_upload(struct sftp_conn *conn, char * } stat_to_attr...
2002 Jan 06
3
sftp/scp performance testing
Folks, I've noticed poor performance using sftp. If anyone has any advice on how to improve performance, I'd like to hear it. Test simply involved transferring a single 143MB MP3 file using defaults for all the program configs. The opensshd 3.0.2p1 server is used in all tests. Software: openssh suite 3.0.2p1 psftp (putty sftp client) latest dev snapshot pscp (putty scp client) latest
2003 May 31
11
[Bug 581] SFTP "ls" listings never end
...itialized to false when a new directory context is created (it is not needed for file contexts). It is set to true when a readdir call returns NULL. Once it is true, no subsequent calls to readdir are to be made on that context; instead the next call to process_readdir will immediately return a SSH2_FX_EOF status. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.