summaryrefslogtreecommitdiff
path: root/sftp-common.h
diff options
context:
space:
mode:
authordjm <djm>2006-01-02 12:40:50 +0000
committerdjm <djm>2006-01-02 12:40:50 +0000
commite5b4c33da1c4bf481e3f9bbd803f0118e93b5bcf (patch)
treeab34750fc1e6ff11dcf0dc1a62c11db862081311 /sftp-common.h
parent08125afa724bbdd2a3fa1c867bec072519c85436 (diff)
downloadopenssh-e5b4c33da1c4bf481e3f9bbd803f0118e93b5bcf.tar.gz
- 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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sftp-common.h b/sftp-common.h
index b42ba914..2b1995a2 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 */