From 76b51f889f5b3f3de53c504955edf8710e9c4c77 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 29 Dec 2011 13:06:30 +0000 Subject: [PATCH] increase eet_connection max msg size to 1Mb - more reasonable SVN revision: 66634 --- legacy/eet/ChangeLog | 5 +++++ legacy/eet/src/lib/eet_connection.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/legacy/eet/ChangeLog b/legacy/eet/ChangeLog index fdfdefbb04..160fab84fc 100644 --- a/legacy/eet/ChangeLog +++ b/legacy/eet/ChangeLog @@ -556,3 +556,8 @@ * added eet_file_get to return the filename of an Eet_File * Eet_File filenames are now stringshared * added mempool allocators + +2011-12-29 Carsten Haitzler (The Rasterman) + + * increase eet_connection packet size to 1Mb - more reasonable. + diff --git a/legacy/eet/src/lib/eet_connection.c b/legacy/eet/src/lib/eet_connection.c index 0aaa566c33..7b6b934596 100644 --- a/legacy/eet/src/lib/eet_connection.c +++ b/legacy/eet/src/lib/eet_connection.c @@ -35,7 +35,8 @@ void *alloca(size_t); #include "Eet.h" #include "Eet_private.h" -#define MAX_MSG_SIZE (64 * 1024) +/* max message size: 1Mb - raised from original 64Kb */ +#define MAX_MSG_SIZE (1024 * 1024) #define MAGIC_EET_DATA_PACKET 0x4270ACE1 struct _Eet_Connection