summaryrefslogtreecommitdiff
path: root/sftp-common.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-01-02 23:40:50 +1100
committerDamien Miller <djm@mindrot.org>2006-01-02 23:40:50 +1100
commit5444618987402d50fb9c6c722919fe2d428d05bb (patch)
tree9ee85f748a02b98efcd1d6b81b98a845dc2eed29 /sftp-common.h
parenta210d522355b9dfacfc4691f483ee18896bfe4b8 (diff)
- 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 b42ba9140..2b1995a2d 100644
--- a/sftp-common.h
+++ b/sftp-common.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-common.h,v 1.5 2003/11/10 16:23:41 jakob Exp $ */ 1/* $OpenBSD: sftp-common.h,v 1.6 2006/01/02 01:20:31 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -25,6 +25,9 @@
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28/* Maximum packet that we are willing to send/accept */
29#define SFTP_MAX_MSG_LENGTH (256 * 1024)
30
28typedef struct Attrib Attrib; 31typedef struct Attrib Attrib;
29 32
30/* File attributes */ 33/* File attributes */