5 ms·
I'm betting this code is so old and its behavior so ingrained everywhere else that nobody dares touching it.
by RedShift1 1y ago
I'm betting this code is so old and its behavior so ingrained everywhere else that nobody dares touching it.
- jart 1y agoNo it sounds like they just need to add a pthread_cleanup_push() call somewhere in the getaddrinfo() implementation. C libraries are not black magic. Nor are they holy code. We needn't fear them. It's the simplest part of the software stack.