Fix return nil addr in conn

This commit is contained in:
世界 2023-08-30 17:53:37 +08:00
parent 67deac6d44
commit b83c6c9d20
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
9 changed files with 22 additions and 17 deletions

View file

@ -582,7 +582,7 @@ func (c *naiveH2Conn) Close() error {
}
func (c *naiveH2Conn) LocalAddr() net.Addr {
return nil
return M.Socksaddr{}
}
func (c *naiveH2Conn) RemoteAddr() net.Addr {