Changeset 3755


Ignore:
Timestamp:
Sep 19, 2011 6:43:49 AM (13 years ago)
Author:
bennylp
Message:

Fixed #1374: Assertion when CANCEL and INVITE final response "crosses the wire"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/src/pjsip/sip_transaction.c

    r3586 r3755  
    29612961        } 
    29622962        lock_timer(tsx); 
     2963        /* In the short period above timer may have been inserted 
     2964         * by set_timeout() (by CANCEL). Cancel it if necessary. See: 
     2965         *  https://trac.pjsip.org/repos/ticket/1374 
     2966         */ 
     2967        if (tsx->timeout_timer.id) 
     2968            pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer ); 
    29632969        tsx->timeout_timer.id = TIMER_ACTIVE; 
    29642970        pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, &timeout); 
Note: See TracChangeset for help on using the changeset viewer.