-
Ting-Wei Lan authored
It is unclear that why the size of the buffer was chosen to be 100 because the commit introduced the code didn't mention the reason. POSIX defines _POSIX_HOST_NAME_MAX to be 255 and provides a way to determine the suitable value with sysconf, so we should use it instead of hard-coding a small value.
446ba28d