diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2010-08-18 12:09:27 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2010-08-18 12:09:27 +0000 |
commit | 28df1f238a397ecad6861cf48049910857c649e2 (patch) | |
tree | dcd3c03842a363a0f8055c4ca40bfe930412dae0 /sbin/hastd/proto_common.c | |
parent | 2278f9927d4bda9fefe1911bca7448a949130652 (diff) | |
download | src-28df1f238a397ecad6861cf48049910857c649e2.tar.gz src-28df1f238a397ecad6861cf48049910857c649e2.zip |
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 <thomas@gibfest.dk>
MFC after: 3 weeks
Notes
Notes:
svn path=/head/; revision=211452
Diffstat (limited to 'sbin/hastd/proto_common.c')
-rw-r--r-- | sbin/hastd/proto_common.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 |