Ignore:
Timestamp:
May 30, 2013 9:27:49 AM (11 years ago)
Author:
nanang
Message:

Fixed #1671:

  • Transport manager maintains transmit buffer instance list, so any dangling transmit buffer will be freed when transport manager is destroyed. This is configurable via PJSIP_HAS_TX_DATA_LIST, the default is zero/disabled.
  • Updated publish client subscription to not use the 'internal' pjsip_tx_data list structure.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_config.h

    r4506 r4530  
    11331133 
    11341134 
     1135/** 
     1136 * Specify whether transport manager should maintain a list of transmit 
     1137 * buffer instances, so any possible dangling instance can be cleaned up 
     1138 * when the transport manager is shutdown (see also ticket #1671). 
     1139 * Note that this feature will have slight impact on the performance as 
     1140 * mutex is employed in updating the list, i.e: on creation and destruction 
     1141 * of transmit data. 
     1142 * 
     1143 * Default: 0 (no) 
     1144 */ 
     1145#ifndef PJSIP_HAS_TX_DATA_LIST 
     1146#   define PJSIP_HAS_TX_DATA_LIST               0 
     1147#endif 
     1148 
     1149 
    11351150PJ_END_DECL 
    11361151 
Note: See TracChangeset for help on using the changeset viewer.