diff options
author | pjd <pjd@FreeBSD.org> | 2010-08-18 12:09:27 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-08-18 12:09:27 +0000 |
commit | 395a43623f37377aa068c146385399c6a9ba5e59 (patch) | |
tree | dcd3c03842a363a0f8055c4ca40bfe930412dae0 /sbin/hastd/proto_common.c | |
parent | d4e4458c2e634c74e09fc4d5f2167804085c67f9 (diff) | |
download | FreeBSD-src-395a43623f37377aa068c146385399c6a9ba5e59.zip FreeBSD-src-395a43623f37377aa068c146385399c6a9ba5e59.tar.gz |
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
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 131d30e..84680c2b 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 |