summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-05-19 06:07:40 +0000
committerBenny Prijono <bennylp@teluu.com>2010-05-19 06:07:40 +0000
commita2efcf3e9e4efd713b986e8d4776c92b45d4e8de (patch)
treed12883ee70c438aecf3d0015252950b069a4d6e7 /pjlib
parent2ac674189172cf3d44e2dd3f6d74d7cb0aeed2ea (diff)
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
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/include/pj/config.h4
-rw-r--r--pjlib/include/pj/config_site_sample.h4
2 files changed, 4 insertions, 4 deletions
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.