mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
Fix return nil addr in conn
This commit is contained in:
parent
67deac6d44
commit
b83c6c9d20
9 changed files with 22 additions and 17 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue