mirror of https://github.com/asterisk/asterisk
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: I2e14e58674808f7ce99b2f5e900d0f90d0d8da48pull/7/head
parent
b05d2fda0c
commit
fc71c18a9b
Loading…
Reference in new issue