summaryrefslogtreecommitdiff
path: root/include/asterisk/say.h
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2017-03-18 13:30:32 -0400
committerSean Bright <sean.bright@gmail.com>2017-03-20 08:51:47 -0400
commit38cebc73a33195fa14d6fa417284c59efe6111ee (patch)
tree187ba2eac60466d82253c8753a4ffc144b14809a /include/asterisk/say.h
parentbaeabb82eaa92a9d493ae92b77ece72faf37d619 (diff)
thread safety: Don't use getprotobyname()
POSIX does not require getprotobyname() to be thread safe and some implementations use static memory which causes issues when multiple threads are used. Further, our usage of it today is just to ultimately get IPPROTO_TCP for calls to setsockopt(). So instead we just use IPPROTO_TCP directly. Change-Id: I2e14e58674808f7ce99b2f5e900d0f90d0d8da48
Diffstat (limited to 'include/asterisk/say.h')
0 files changed, 0 insertions, 0 deletions