diff options
author | Damien Miller <djm@mindrot.org> | 2006-01-02 13:40:50 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-01-02 13:40:50 +0100 |
commit | 5444618987402d50fb9c6c722919fe2d428d05bb (patch) | |
tree | 9ee85f748a02b98efcd1d6b81b98a845dc2eed29 /sftp-common.h | |
parent | - stevesk@cvs.openbsd.org 2006/01/01 10:08:48 (diff) | |
download | openssh-5444618987402d50fb9c6c722919fe2d428d05bb.tar.xz openssh-5444618987402d50fb9c6c722919fe2d428d05bb.zip |
- djm@cvs.openbsd.org 2006/01/02 01:20:31
[sftp-client.c sftp-common.h sftp-server.c]
use a common max. packet length, no binary change
Diffstat (limited to 'sftp-common.h')
-rw-r--r-- | sftp-common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sftp-common.h b/sftp-common.h index b42ba9140..2b1995a2d 100644 --- a/sftp-common.h +++ b/sftp-common.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-common.h,v 1.5 2003/11/10 16:23:41 jakob Exp $ */ +/* $OpenBSD: sftp-common.h,v 1.6 2006/01/02 01:20:31 djm Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -25,6 +25,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* Maximum packet that we are willing to send/accept */ +#define SFTP_MAX_MSG_LENGTH (256 * 1024) + typedef struct Attrib Attrib; /* File attributes */ |