From a2efcf3e9e4efd713b986e8d4776c92b45d4e8de Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 19 May 2010 06:07:40 +0000 Subject: Fix #1071: Increase default maximum SIP packet size to 4000 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3182 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/config.h | 4 ++-- pjlib/include/pj/config_site_sample.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pjlib/include/pj') diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index b1ef3ab9..0f47a1a0 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -385,10 +385,10 @@ * This may affect the stack usage, depending whether PJ_LOG_USE_STACK_BUFFER * flag is set. * - * Default: 2000 + * Default: 4000 */ #ifndef PJ_LOG_MAX_SIZE -# define PJ_LOG_MAX_SIZE 2000 +# define PJ_LOG_MAX_SIZE 4000 #endif /** diff --git a/pjlib/include/pj/config_site_sample.h b/pjlib/include/pj/config_site_sample.h index 1e784c00..58733ceb 100644 --- a/pjlib/include/pj/config_site_sample.h +++ b/pjlib/include/pj/config_site_sample.h @@ -171,7 +171,7 @@ /* Disable safe module access, since we don't use multithreading */ #define PJSIP_SAFE_MODULE 0 - /* Increase allowable packet size, just in case */ + /* Use large enough packet size */ #define PJSIP_MAX_PKT_LEN 2000 /* Symbian has problem with too many large blocks */ @@ -333,7 +333,7 @@ */ /* Increase allowable packet size, just in case */ - #define PJSIP_MAX_PKT_LEN 2000 + //#define PJSIP_MAX_PKT_LEN 2000 /* * PJSUA settings. -- cgit v1.2.3