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

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

File:
1 edited

Legend:

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

    r1266 r1287  
    15611561    /* Done */ 
    15621562 
     1563    inv->cancelling = PJ_TRUE; 
    15631564    *p_tdata = tdata; 
    15641565 
     
    19511952                                              e->body.tsx_state.src.rdata); 
    19521953 
    1953             } else if (tsx->status_code==401 || tsx->status_code==407) { 
     1954            } else if ((tsx->status_code==401 || tsx->status_code==407) && 
     1955                        !inv->cancelling)  
     1956            { 
    19541957 
    19551958                /* Handle authentication failure: 
Note: See TracChangeset for help on using the changeset viewer.