X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/b6c7b7b7b23695d52c8ec1a8d394d9a6945f7e9b..5498741cc14208f105eb8341046536b21a0c31db:/sftp-common.h diff --git a/sftp-common.h b/sftp-common.h index b42ba914..9b584846 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.10 2006/08/03 03:34:42 deraadt 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 */