Changeset 6060


Ignore:
Timestamp:
Sep 4, 2019 7:49:44 AM (13 months ago)
Author:
nanang
Message:

Fix #2226: Skip authentication handling in evsub module if it is already done by other module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-simple/evsub.c

    r6035 r6060  
    21862186        if (tsx->state == PJSIP_TSX_STATE_COMPLETED && 
    21872187            (tsx->status_code==401 || tsx->status_code==407)) 
    2188         {            
     2188        { 
    21892189            pjsip_tx_data *tdata; 
    21902190            pj_status_t status; 
    21912191            pjsip_rx_data *rdata = event->body.tsx_state.src.rdata; 
     2192 
     2193            /* Handled by other module already (e.g: invite module) */ 
     2194            if (tsx->last_tx->auth_retry) 
     2195                return; 
    21922196 
    21932197            status = pjsip_auth_clt_reinit_req(&sub->dlg->auth_sess, rdata, 
Note: See TracChangeset for help on using the changeset viewer.