- revert default window size adjustments (#286181)

This commit is contained in:
Tomáš Mráz 2007-09-17 21:33:02 +00:00
parent c9833c96a4
commit 95be083504
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,18 @@
Written-by: Jan Kratochvil <jkratoch@redhat.com>
Reviewed-by: Tomas Mraz <tmraz@redhat.com>
diff -up openssh-4.7p1/channels.h.revert-wsize openssh-4.7p1/channels.h
--- openssh-4.7p1/channels.h.revert-wsize 2007-06-12 15:38:54.000000000 +0200
+++ openssh-4.7p1/channels.h 2007-09-17 23:21:32.000000000 +0200
@@ -122,9 +122,9 @@ struct Channel {
/* default window/packet sizes for tcp/x11-fwd-channel */
#define CHAN_SES_PACKET_DEFAULT (32*1024)
-#define CHAN_SES_WINDOW_DEFAULT (64*CHAN_SES_PACKET_DEFAULT)
+#define CHAN_SES_WINDOW_DEFAULT (4*CHAN_SES_PACKET_DEFAULT)
#define CHAN_TCP_PACKET_DEFAULT (32*1024)
-#define CHAN_TCP_WINDOW_DEFAULT (64*CHAN_TCP_PACKET_DEFAULT)
+#define CHAN_TCP_WINDOW_DEFAULT (4*CHAN_TCP_PACKET_DEFAULT)
#define CHAN_X11_PACKET_DEFAULT (16*1024)
#define CHAN_X11_WINDOW_DEFAULT (4*CHAN_X11_PACKET_DEFAULT)

View File

@ -63,7 +63,7 @@
Summary: The OpenSSH implementation of SSH protocol versions 1 and 2 Summary: The OpenSSH implementation of SSH protocol versions 1 and 2
Name: openssh Name: openssh
Version: 4.7p1 Version: 4.7p1
Release: 1%{?dist}%{?rescue_rel} Release: 2%{?dist}%{?rescue_rel}
URL: http://www.openssh.com/portable.html URL: http://www.openssh.com/portable.html
#Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz #Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
#Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc #Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc
@ -95,6 +95,7 @@ Patch44: openssh-4.3p2-allow-ip-opts.patch
Patch49: openssh-4.3p2-gssapi-canohost.patch Patch49: openssh-4.3p2-gssapi-canohost.patch
Patch51: openssh-4.7p1-nss-keys.patch Patch51: openssh-4.7p1-nss-keys.patch
Patch52: openssh-4.7p1-sftp-drain-acks.patch Patch52: openssh-4.7p1-sftp-drain-acks.patch
Patch53: openssh-4.7p1-revert-wsize.patch
License: BSD License: BSD
Group: Applications/Internet Group: Applications/Internet
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -228,6 +229,7 @@ an X11 passphrase dialog for OpenSSH.
%patch49 -p1 -b .canohost %patch49 -p1 -b .canohost
%patch51 -p1 -b .nss-keys %patch51 -p1 -b .nss-keys
%patch52 -p1 -b .drain-acks %patch52 -p1 -b .drain-acks
%patch53 -p1 -b .revert-wsize
autoreconf autoreconf
@ -480,6 +482,9 @@ fi
%endif %endif
%changelog %changelog
* Mon Sep 17 2007 Tomas Mraz <tmraz@redhat.com> - 4.7p1-2
- revert default window size adjustments (#286181)
* Thu Sep 6 2007 Tomas Mraz <tmraz@redhat.com> - 4.7p1-1 * Thu Sep 6 2007 Tomas Mraz <tmraz@redhat.com> - 4.7p1-1
- upgrade to latest upstream - upgrade to latest upstream
- use libedit in sftp (#203009) - use libedit in sftp (#203009)