Ignore:
Timestamp:
Jun 19, 2014 5:07:12 AM (7 years ago)
Author:
riza
Message:

Re #1771: Implement run-time configuration to set specific socket option.

File:
1 edited

Legend:

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

    r4506 r4860  
    206206    pj_bool_t qos_ignore_error; 
    207207 
     208    /** 
     209     * Specify options to be set on the transport.  
     210     * 
     211     * By default there is no options. 
     212     *  
     213     */ 
     214    pj_sockopt_params sockopt_params; 
     215 
     216    /** 
     217     * Specify if the transport should ignore any errors when setting the  
     218     * sockopt parameters. 
     219     * 
     220     * Default: PJ_TRUE 
     221     *  
     222     */ 
     223    pj_bool_t sockopt_ignore_error; 
     224 
    208225} pjsip_tls_setting; 
    209226 
     
    235252    tls_opt->qos_type = PJ_QOS_TYPE_BEST_EFFORT; 
    236253    tls_opt->qos_ignore_error = PJ_TRUE; 
     254    tls_opt->sockopt_ignore_error = PJ_TRUE; 
    237255} 
    238256 
Note: See TracChangeset for help on using the changeset viewer.