Changeset 2831


Ignore:
Timestamp:
Jul 10, 2009 3:38:19 PM (11 years ago)
Author:
bennylp
Message:

Ticket #916: Crash in TURN client when TCP connection is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/stun_transaction.c

    r2394 r2831  
    185185    pj_status_t status; 
    186186 
    187     PJ_ASSERT_RETURN(tsx->retransmit_timer.id == 0, PJ_EBUSY); 
     187    PJ_ASSERT_RETURN(tsx->retransmit_timer.id == 0 || 
     188                     !tsx->require_retransmit, PJ_EBUSY); 
    188189 
    189190    if (tsx->require_retransmit) { 
     
    290291            return status; 
    291292        } 
     293        tsx->retransmit_timer.id = TIMER_ACTIVE; 
    292294    } 
    293295 
Note: See TracChangeset for help on using the changeset viewer.