From 6761c7417d362fb8c0d71ddc60c3914f97e88c28 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Fri, 22 Jan 2010 10:25:15 -0800 Subject: [PATCH] - (tim) [configure.ac] Due to constraints in Windows Sockets in terms of socket inheritance, reduce the default SO_RCVBUF/SO_SNDBUF buffer size in Cygwin to 65535. Patch from Corinna Vinschen. --- ChangeLog | 5 +++++ configure.ac | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6913bf580..e43b42e26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +20100122 + - (tim) [configure.ac] Due to constraints in Windows Sockets in terms of + socket inheritance, reduce the default SO_RCVBUF/SO_SNDBUF buffer size + in Cygwin to 65535. Patch from Corinna Vinschen. + 20100117 - (tim) [configure.ac] OpenServer 5 needs BROKEN_GETADDRINFO too. - (tim) [configure.ac] On SVR5 systems, use the C99-conforming functions diff --git a/configure.ac b/configure.ac index aa74fc30f..e5de6f58b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.438 2010/01/18 01:05:39 tim Exp $ +# $Id: configure.ac,v 1.439 2010/01/22 18:25:15 tim Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) -AC_REVISION($Revision: 1.438 $) +AC_REVISION($Revision: 1.439 $) AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_HEADER(config.h) @@ -446,7 +446,7 @@ int main(void) { exit(0); } AC_DEFINE(DISABLE_FD_PASSING, 1, [Define if your platform needs to skip post auth file descriptor passing]) - AC_DEFINE(SSH_IOBUFSZ, 65536, [Windows is sensitive to read buffer size]) + AC_DEFINE(SSH_IOBUFSZ, 65535, [Windows is sensitive to read buffer size]) ;; *-*-dgux*) AC_DEFINE(IP_TOS_IS_BROKEN, 1,