The RemoteAddr
and LocalAddr
methods on the returned net.Conn
may call themselves, leading to an infinite loop which will crash the program due to a stack overflow.
もっと詳しく