diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-10-17 07:41:25 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-10-17 07:41:25 +0000 |
commit | 5a3c7e0ea3131f8d81a282af4c3d93597c174684 (patch) | |
tree | a6af31834a419a3e62aef13c97fe387a99a502bf /pjsip | |
parent | d0f2cf7fee354d2ab1ef8748edd62438edeb80cc (diff) |
Modified keep-alive packet content for TCP/TLS from CRLF to double CRLF
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2352 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r-- | pjsip/include/pjsip/sip_config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h index 34cae270..dea84b9f 100644 --- a/pjsip/include/pjsip/sip_config.h +++ b/pjsip/include/pjsip/sip_config.h @@ -413,7 +413,7 @@ PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void) * Default: CRLF */ #ifndef PJSIP_TCP_KEEP_ALIVE_DATA -# define PJSIP_TCP_KEEP_ALIVE_DATA { "\r\n", 2 } +# define PJSIP_TCP_KEEP_ALIVE_DATA { "\r\n\r\n", 4 } #endif @@ -436,7 +436,7 @@ PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void) * Default: CRLF */ #ifndef PJSIP_TLS_KEEP_ALIVE_DATA -# define PJSIP_TLS_KEEP_ALIVE_DATA { "\r\n", 2 } +# define PJSIP_TLS_KEEP_ALIVE_DATA { "\r\n\r\n", 4 } #endif |