Ignore:
Timestamp:
Nov 2, 2011 7:53:38 AM (12 years ago)
Author:
bennylp
Message:

Fixed #1414: Removed assertion in transaction when event other than timer is received in TERMINATED state

File:
1 edited

Legend:

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

    r3755 r3881  
    31983198{ 
    31993199    pj_assert(tsx->state == PJSIP_TSX_STATE_TERMINATED); 
    3200     pj_assert(event->type == PJSIP_EVENT_TIMER); 
     3200 
     3201    /* Ignore events other than timer. This used to be an assertion but 
     3202     * events may genuinely arrive at this state. 
     3203     */ 
     3204    if (event->type != PJSIP_EVENT_TIMER) { 
     3205        return PJ_EIGNORED; 
     3206    } 
    32013207 
    32023208    /* Destroy this transaction */ 
Note: See TracChangeset for help on using the changeset viewer.