Ignore:
Timestamp:
Mar 23, 2011 6:08:36 AM (11 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/src/pj/sock_bsd.c

    r3408 r3478  
    136136const pj_uint16_t PJ_TCP_NODELAY= TCP_NODELAY; 
    137137const pj_uint16_t PJ_SO_REUSEADDR= SO_REUSEADDR; 
     138#ifdef SO_NOSIGPIPE 
     139const pj_uint16_t PJ_SO_NOSIGPIPE = SO_NOSIGPIPE; 
     140#else 
     141const pj_uint16_t PJ_SO_NOSIGPIPE = 0xFFFF; 
     142#endif 
    138143#if defined(SO_PRIORITY) 
    139144const pj_uint16_t PJ_SO_PRIORITY = SO_PRIORITY; 
Note: See TracChangeset for help on using the changeset viewer.