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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 3 23:00:07 CST 2009


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16178 
====================================================================== 
Reported By:                oej
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16178
Category:                   Resources/General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
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 23:00 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."


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

---------------------------------------------------------------------- 
 (0114706) svnbot (reporter) - 2009-12-03 23:00
 https://issues.asterisk.org/view.php?id=16178#c114706 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 232950

U   trunk/configure
U   trunk/configure.ac
U   trunk/include/asterisk/autoconfig.h.in
U   trunk/res/res_pktccops.c

------------------------------------------------------------------------
r232950 | tilghman | 2009-12-03 23:00:06 -0600 (Thu, 03 Dec 2009) | 4
lines

OS X does not define MSG_NOSIGNAL, but it does have a socket option
SO_NOSIGPIPE.
(closes issue https://issues.asterisk.org/view.php?id=16178)
 Reported by: oej

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=232950 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-03 23:00 svnbot         Checkin                                      
2009-12-03 23:00 svnbot         Note Added: 0114706                          
2009-12-03 23:00 svnbot         Status                   acknowledged =>
assigned
2009-12-03 23:00 svnbot         Assigned To               => tilghman        
======================================================================




More information about the asterisk-bugs mailing list