[asterisk-bugs] [Asterisk 0016178]: res_pktccops.c using MSG_NOSIGNAL

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 3 17:25:16 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16178 
====================================================================== 
Reported By:                oej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16178
Category:                   Resources/General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 227544 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-04 02:13 CST
Last Modified:              2009-12-03 17:25 CST
====================================================================== 
Summary:                    res_pktccops.c using MSG_NOSIGNAL
Description: 
MSG_NOSIGNAL doesn't exist on OS/X

According to
http://lists.apple.com/archives/macnetworkprog/2002/Dec/msg00091.html OS/X
has "the socket option SO_NOSIGPIPE that prevents SIGPIPE from being raised
when a write fails on a socket to which there is no reader; instead the
write to the socket returns with the error EPIPE."


====================================================================== 

---------------------------------------------------------------------- 
 (0114693) dougm (reporter) - 2009-12-03 17:25
 https://issues.asterisk.org/view.php?id=16178#c114693 
---------------------------------------------------------------------- 
The same problem exists on OpenSolaris as well (also BSD origins).
The Mac OS/X SO_NOSIGNAL doesn't exist on Solaris. It would be nice to
have
a common workaround, or better, a common solution. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-03 17:25 dougm          Note Added: 0114693                          
======================================================================




More information about the asterisk-bugs mailing list