Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: work around interface enum buffer overrun
When a system has too many interfaces and too many addresses, 8 kilobytes isn't enough to fit all of the netlink responses. As the result, kamailio gets stuck in a loop where it tries to do a 0-length recv. Increase the buffer to 32K. It's a miniscule amount for modern times anyway. Also, add diagnostics to make further troubleshooting easier. Proper fix would be to switch to libnl here, which would make a good weekend project. (cherry picked from commit d2fd204)
- Loading branch information