[sr-dev] [kamailio/kamailio] hostname in kubernetes (#2119)

Daniel-Constantin Mierla notifications at github.com
Wed Nov 6 21:25:33 CET 2019


I haven't investigated the issue, nor the fix, but I know that use if gethostbyname() is no longer recommended, being marked as obsolete:

  * http://man7.org/linux/man-pages/man3/gethostbyname.3.html

```
       The gethostbyname*(), gethostbyaddr*(), herror(), and hstrerror()
       functions are obsolete.  Applications should use getaddrinfo(3),
       getnameinfo(3), and gai_strerror(3) instead.
```

At some point we should consider replacing these obsolete functions where they are already used in the code, but for now we should try not to add more use of them...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2119#issuecomment-550485579
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191106/64aeda0b/attachment-0001.html>


More information about the sr-dev mailing list