Changeset 1389 for pjproject/trunk/pjsip/include/pjsip/sip_config.h
- Timestamp:
- Jun 26, 2007 12:25:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_config.h
r1244 r1389 130 130 131 131 /** 132 * Encode SIP headers in their short forms to reduce size. By default, 133 * SIP headers in outgoing messages will be encoded in their full names. 134 * If this option is enabled, then SIP headers for outgoing messages 135 * will be encoded in their short forms, to reduce message size. 136 * Note that this does not affect the ability of PJSIP to parse incoming 137 * SIP messages, as the parser always supports parsing both the long 138 * and short version of the headers. 139 * 140 * Note that there is also an undocumented variable defined in sip_msg.c 141 * to control whether compact form should be used for encoding SIP 142 * headers. The default value of this variable is PJSIP_ENCODE_SHORT_HNAME. 143 * To change PJSIP behavior during run-time, application can use the 144 * following construct: 145 * 146 \verbatim 147 extern pj_bool_t pjsip_use_compact_form; 148 149 // enable compact form 150 pjsip_use_compact_form = PJ_TRUE; 151 \endverbatim 152 * 153 * Default is 0 (no) 154 */ 155 #ifndef PJSIP_ENCODE_SHORT_HNAME 156 # define PJSIP_ENCODE_SHORT_HNAME 0 157 #endif 158 159 160 /** 132 161 * Allow SIP modules removal or insertions during operation? 133 162 * If yes, then locking will be employed when endpoint need to
Note: See TracChangeset
for help on using the changeset viewer.