Ignore:
Timestamp:
Mar 23, 2011 10:23:31 AM (12 years ago)
Author:
ming
Message:

Re #1221: Move setting the socket option to pjlib level (sock_bsd) instead of in the SIP transport.

File:
1 edited

Legend:

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

    r3479 r3480  
    528528    struct tls_transport *tls; 
    529529    const pj_str_t ka_pkt = PJSIP_TLS_KEEP_ALIVE_DATA; 
    530     pj_int32_t val = 1; 
    531530    pj_status_t status; 
    532531     
     
    617616    pj_ioqueue_op_key_init(&tls->ka_op_key.key, sizeof(pj_ioqueue_op_key_t)); 
    618617    pj_strdup(tls->base.pool, &tls->ka_pkt, &ka_pkt); 
    619  
    620     /* Prevent SIGPIPE */ 
    621     pj_sock_setsockopt(tls->sock, pj_SOL_SOCKET(), pj_SO_NOSIGPIPE(), 
    622                        &val, sizeof(val)); 
    623618     
    624619    /* Done setting up basic transport. */ 
Note: See TracChangeset for help on using the changeset viewer.