Changeset 3094 for pjproject


Ignore:
Timestamp:
Feb 10, 2010 8:48:27 AM (15 years ago)
Author:
bennylp
Message:

Fixed ticket #1011: "Invalid operation step" assertion when TCP is used

File:
1 edited

Legend:

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

    r3091 r3094  
    352352              pjsip_rx_data_get_info(rdata))); 
    353353 
    354     /* Check if we have cached ACK request */ 
    355     if (inv->last_ack && rdata->msg_info.cseq->cseq == inv->last_ack_cseq) { 
    356  
     354    /* Check if we have cached ACK request. Must not use the cached ACK 
     355     * if it's still marked as pending by transport (#1011) 
     356     */ 
     357    if (inv->last_ack && rdata->msg_info.cseq->cseq == inv->last_ack_cseq && 
     358        !inv->last_ack->is_pending) 
     359    { 
    357360        pjsip_tx_data_add_ref(inv->last_ack); 
    358361 
Note: See TracChangeset for help on using the changeset viewer.