Changeset 4516


Ignore:
Timestamp:
May 6, 2013 9:10:56 AM (9 years ago)
Author:
nanang
Message:

Fix #1665: Added check for tx_data pending state in tsx_send_msg().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transaction.c

    r4448 r4516  
    20022002    } 
    20032003 
     2004    /* Skip send if previous tdata transmission is pending (see #1665). */ 
     2005    if (tdata->is_pending) { 
     2006        PJ_LOG(2,(THIS_FILE, "Unable to send %s: message is pending",  
     2007                             pjsip_tx_data_get_info(tdata))); 
     2008        return PJ_SUCCESS; 
     2009    } 
     2010 
    20042011    /* If we have the transport, send the message using that transport. 
    20052012     * Otherwise perform full transport resolution. 
Note: See TracChangeset for help on using the changeset viewer.