From 28df1f238a397ecad6861cf48049910857c649e2 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Wed, 18 Aug 2010 12:09:27 +0000 Subject: For some setups sending data in 128kB chunks makes communication very slow. No idea why. 32kB on the other hand seems to work properly everywhere. Reported by: Thomas Steen Rasmussen MFC after: 3 weeks --- sbin/hastd/proto_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sbin/hastd/proto_common.c') diff --git a/sbin/hastd/proto_common.c b/sbin/hastd/proto_common.c index 131d30e19ef2..84680c2bfdb6 100644 --- a/sbin/hastd/proto_common.c +++ b/sbin/hastd/proto_common.c @@ -42,8 +42,7 @@ __FBSDID("$FreeBSD$"); /* Maximum size of packet we want to use when sending data. */ #ifndef MAX_SEND_SIZE -//#define MAX_SEND_SIZE 32768 -#define MAX_SEND_SIZE 131072 +#define MAX_SEND_SIZE 32768 #endif int -- cgit v1.2.3