Ignore:
Timestamp:
May 22, 2007 12:02:07 PM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #280: Failed scenarios with CANCEL requests (thanks Esbjörn Dominique)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjsip/src/pjsip-ua/sip_inv.c

    r981 r1286  
    15571557    /* Done */ 
    15581558 
     1559    inv->cancelling = PJ_TRUE; 
    15591560    *p_tdata = tdata; 
    15601561 
     
    19461947                                              e->body.tsx_state.src.rdata); 
    19471948 
    1948             } else if (tsx->status_code==401 || tsx->status_code==407) { 
     1949            } else if ((tsx->status_code==401 || tsx->status_code==407) && 
     1950                        !inv->cancelling)  
     1951            { 
    19491952 
    19501953                /* Handle authentication failure: 
Note: See TracChangeset for help on using the changeset viewer.