- Timestamp:
- Feb 20, 2017 1:12:21 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_util.c
r5337 r5555 1215 1215 1216 1216 via->transport = pj_str(stateless_data->cur_transport->type_name); 1217 /* For Cancel request, do not update the Via address with 1218 * the new transport since it needs to match the original 1219 * request. 1220 */ 1217 1221 if (tdata->via_addr.host.slen > 0 && 1218 tdata->via_tp == (void *)stateless_data->cur_transport) 1222 (tdata->via_tp == (void *)stateless_data->cur_transport || 1223 tdata->msg->line.req.method.id == PJSIP_CANCEL_METHOD)) 1219 1224 { 1220 1225 via->sent_by = tdata->via_addr;
Note: See TracChangeset
for help on using the changeset viewer.