Changeset 1335 for pjproject


Ignore:
Timestamp:
Jun 1, 2007 12:51:07 PM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #316: Crash in registration session when transport returns error on sending authentication retry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c

    r1332 r1335  
    614614 
    615615        if (status == PJ_SUCCESS) { 
     616            ++regc->busy; 
    616617            status = pjsip_regc_send(regc, tdata); 
    617         }  
     618            --regc->busy; 
     619        } 
    618620         
    619621        if (status != PJ_SUCCESS) { 
     
    651653        pjsip_rx_data *rdata; 
    652654        pj_int32_t expiration = 0xFFFF; 
    653  
    654         /* User must not destroy the regc while transaction was in 
    655          * progress 
    656          */ 
    657         pj_assert(regc->_delete_flag == 0); 
    658655 
    659656        if (tsx->status_code/100 == 2) { 
Note: See TracChangeset for help on using the changeset viewer.