svn commit: r211452 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Aug 18 12:09:28 UTC 2010
Author: pjd
Date: Wed Aug 18 12:09:27 2010
New Revision: 211452
URL: http://svn.freebsd.org/changeset/base/211452
Log:
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 at gibfest.dk>
MFC after: 3 weeks
Modified:
head/sbin/hastd/proto_common.c
Modified: head/sbin/hastd/proto_common.c
==============================================================================
--- head/sbin/hastd/proto_common.c Wed Aug 18 09:28:12 2010 (r211451)
+++ head/sbin/hastd/proto_common.c Wed Aug 18 12:09:27 2010 (r211452)
@@ -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
More information about the svn-src-head
mailing list