summaryrefslogtreecommitdiff
path: root/pjsip
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-06-19 12:06:02 +0000
committerBenny Prijono <bennylp@teluu.com>2006-06-19 12:06:02 +0000
commitf92b1a75c232743e5faf4d9396ac167033214425 (patch)
tree6a3a96a24a0f2638f9175fb1a5a7d38d3634a81e /pjsip
parente5880189d171755e0095bdbbdb59e71abd110a06 (diff)
Increase default max SIP packet size to 2000 (from 1500), since SIP PDU containing presence info can be quite large
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@520 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r--pjsip/include/pjsip/sip_config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h
index 23575766..608550ce 100644
--- a/pjsip/include/pjsip/sip_config.h
+++ b/pjsip/include/pjsip/sip_config.h
@@ -112,10 +112,11 @@
/**
- * Maximum packet length.
+ * Maximum packet length. We set it more than MTU since a SIP PDU
+ * containing presence information can be quite large (>1500).
*/
#ifndef PJSIP_MAX_PKT_LEN
-# define PJSIP_MAX_PKT_LEN 1500
+# define PJSIP_MAX_PKT_LEN 2000
#endif