Ignore:
Timestamp:
Jan 21, 2019 8:48:02 AM (5 years ago)
Author:
ming
Message:

Fixed #2175: Make sure that last ACK has been sent before retransmitting it.

Also update the doc that the callback can now be called more than once.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h

    r5812 r5931  
    260260     * Once it has sent the ACK request, the framework will keep  
    261261     * this ACK request in the cache. Subsequent receipt of 2xx response 
    262      * will not cause this callback to be called, and instead automatic 
    263      * retransmission of this ACK request from the cache will be done 
    264      * by the framework. 
     262     * will not cause this callback to be called (but see exception below), 
     263     * and instead automatic retransmission of this ACK request from 
     264     * the cache will be done by the framework. 
     265     * Exception: if app has created the ACK but has not sent it, 
     266     * while it receives a retransmission of 2xx response, this callback 
     267     * will be called again. 
    265268     * 
    266269     * This callback is optional. 
Note: See TracChangeset for help on using the changeset viewer.