0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-13 20:09:36 +03:00

Upgrade github.com/xtls/reality to f34b4d174342

Fixes https://github.com/XTLS/Xray-core/issues/1712
This commit is contained in:
RPRX
2023-02-26 19:26:57 +08:00
committed by GitHub
parent a5b297f968
commit c38179a67f
5 changed files with 12 additions and 8 deletions

View File

@ -52,7 +52,7 @@ func (c *Conn) HandshakeAddress() net.Address {
}
func Server(c net.Conn, config *reality.Config) (net.Conn, error) {
realityConn, err := reality.Server(c, config)
realityConn, err := reality.Server(context.Background(), c, config)
return &Conn{Conn: realityConn}, err
}