From f92b1a75c232743e5faf4d9396ac167033214425 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 19 Jun 2006 12:06:02 +0000 Subject: 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 --- pjsip/include/pjsip/sip_config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pjsip/include') 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 -- cgit v1.2.3