Ignore:
Timestamp:
Mar 23, 2011 6:08:36 AM (13 years ago)
Author:
ming
Message:

Fixed #1221: Crash when SIP transport tried to write to a broken pipe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/sock.h

    r3145 r3478  
    298298extern const pj_uint16_t PJ_SO_REUSEADDR; 
    299299 
     300/** Do not generate SIGPIPE. @see pj_SO_NOSIGPIPE */ 
     301extern const pj_uint16_t PJ_SO_NOSIGPIPE; 
     302 
    300303/** Set the protocol-defined priority for all packets to be sent on socket. 
    301304 */ 
     
    334337    PJ_DECL(pj_uint16_t) pj_SO_REUSEADDR(void); 
    335338 
     339    /** Get #PJ_SO_NOSIGPIPE constant */ 
     340    PJ_DECL(pj_uint16_t) pj_SO_NOSIGPIPE(void); 
     341 
    336342    /** Get #PJ_SO_PRIORITY constant */ 
    337343    PJ_DECL(pj_uint16_t) pj_SO_PRIORITY(void); 
     
    366372    /** Get #PJ_SO_REUSEADDR constant */ 
    367373#   define pj_SO_REUSEADDR() PJ_SO_REUSEADDR 
     374 
     375    /** Get #PJ_SO_NOSIGPIPE constant */ 
     376#   define pj_SO_NOSIGPIPE() PJ_SO_NOSIGPIPE 
    368377 
    369378    /** Get #PJ_SO_PRIORITY constant */ 
Note: See TracChangeset for help on using the changeset viewer.