- Timestamp:
- Feb 6, 2009 8:44:23 AM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transaction.c
r2394 r2442 1377 1377 tsx->addr_len = tsx->res_addr.addr_len; 1378 1378 tsx->is_reliable = PJSIP_TRANSPORT_IS_RELIABLE(tsx->transport); 1379 } else { 1380 tsx->is_reliable = 1381 (tsx->res_addr.dst_host.flag & PJSIP_TRANSPORT_RELIABLE); 1379 1382 } 1380 1383 … … 2316 2319 timeout = timeout_timer_val; 2317 2320 2318 } else if ( PJSIP_TRANSPORT_IS_RELIABLE(tsx->transport)==0) {2321 } else if (!tsx->is_reliable) { 2319 2322 2320 2323 /* For non-INVITE, start timer J at 64*T1 for unreliable … … 2656 2659 /* Start Timer D with TD/T4 timer if unreliable transport is used. */ 2657 2660 /* Note: tsx->transport may be NULL! */ 2658 if ((tsx->transport && PJSIP_TRANSPORT_IS_RELIABLE(tsx->transport)==0) 2659 || ((tsx->transport_flag & PJSIP_TRANSPORT_RELIABLE) == 0)) 2660 { 2661 if (!tsx->is_reliable) { 2661 2662 if (tsx->method.id == PJSIP_INVITE_METHOD) { 2662 2663 timeout = td_timer_val; … … 2723 2724 * zero seconds for reliable transports. 2724 2725 */ 2725 if ( PJSIP_TRANSPORT_IS_RELIABLE(tsx->transport)==0) {2726 if (!tsx->is_reliable) { 2726 2727 timeout.sec = 0; 2727 2728 timeout.msec = 0;
Note: See TracChangeset
for help on using the changeset viewer.