From c84f8fbf7d017eb3c6799b4ae9385f69d684d0d5 Mon Sep 17 00:00:00 2001 From: CaS Date: Thu, 15 Dec 2005 18:54:19 +0000 Subject: [PATCH] Increase some limits git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22170 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 9 +++++++++ Source/NSMessagePort.m | 2 +- Source/NSSocketPort.m | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 03a9a84a0..9b12de4b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-12-15 Richard Frith-Macdonald + + * Source/NSMessagePort.m: + * Source/NSSocketPort.m: + Increase maximum supported message size from 10MB to 32MB in + recognition of the fact that everything is faster/bigger nowadays + and people might actually want to send single messages with + that much data in them. + 2005-12-13 Richard Frith-Macdonald * Source/Additions/GSXML.m: Fix error parsing date/time in xmlrpc diff --git a/Source/NSMessagePort.m b/Source/NSMessagePort.m index bbf51540b..94d4a1056 100644 --- a/Source/NSMessagePort.m +++ b/Source/NSMessagePort.m @@ -93,7 +93,7 @@ /* * Largest chunk of data possible in DO */ -static gsu32 maxDataLength = 10 * 1024 * 1024; +static gsu32 maxDataLength = 32 * 1024 * 1024; #if 0 #define M_LOCK(X) {NSDebugMLLog(@"NSMessagePort",@"lock %@",X); [X lock];} diff --git a/Source/NSSocketPort.m b/Source/NSSocketPort.m index e6b7ee32d..82f8067ff 100644 --- a/Source/NSSocketPort.m +++ b/Source/NSSocketPort.m @@ -105,7 +105,7 @@ /* * Largest chunk of data possible in DO */ -static gsu32 maxDataLength = 10 * 1024 * 1024; +static gsu32 maxDataLength = 32 * 1024 * 1024; #if 0 #define M_LOCK(X) {NSDebugMLLog(@"GSTcpHandleLock",@"lock %@ in %@",X,[NSThread currentThread]); [X lock];}