Changeset 2803


Ignore:
Timestamp:
Jun 25, 2009 12:02:46 PM (15 years ago)
Author:
bennylp
Message:

Ticket #846: Crash in 100rel after CANCEL is received and 487 is sent (thanks Gang Liu for the report)

  • backported from #845
File:
1 edited

Legend:

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

    r2801 r2803  
    24792479            /* Remove the message body */ 
    24802480            tdata->msg->body = NULL; 
    2481             pjsip_dlg_send_response(inv->dlg, invite_tsx, tdata); 
     2481            if (inv->options & PJSIP_INV_REQUIRE_100REL) { 
     2482                status = pjsip_100rel_tx_response(inv, tdata); 
     2483            } else { 
     2484                status = pjsip_dlg_send_response(inv->dlg, invite_tsx,  
     2485                                                 tdata); 
     2486            } 
    24822487        } 
    24832488    } 
Note: See TracChangeset for help on using the changeset viewer.