Changeset 3952 for pjproject/branches/1.x/pjsip/src/pjsip/sip_util.c
- Timestamp:
- Feb 16, 2012 5:35:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjsip/src/pjsip/sip_util.c
r3832 r3952 1249 1249 pj_assert(tdata->dest_info.addr.count != 0); 1250 1250 1251 #if !defined(PJSIP_DONT_SWITCH_TO_TCP) || PJSIP_DONT_SWITCH_TO_TCP==01252 1251 /* RFC 3261 section 18.1.1: 1253 1252 * If a request is within 200 bytes of the path MTU, or if it is larger … … 1256 1255 * as TCP. 1257 1256 */ 1258 if (tdata->msg->type == PJSIP_REQUEST_MSG && 1257 if (pjsip_cfg()->endpt.disable_tcp_switch==0 && 1258 tdata->msg->type == PJSIP_REQUEST_MSG && 1259 1259 tdata->dest_info.addr.count > 0 && 1260 1260 tdata->dest_info.addr.entry[0].type == PJSIP_TRANSPORT_UDP) … … 1298 1298 } 1299 1299 } 1300 #endif /* !PJSIP_DONT_SWITCH_TO_TCP */1301 1300 1302 1301 /* Process the addresses. */
Note: See TracChangeset
for help on using the changeset viewer.