mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-15 07:48:40 +00:00
Upgrade github.com/xtls/reality to f34b4d174342
Fixes https://github.com/XTLS/Xray-core/issues/1712
This commit is contained in:
parent
a5b297f968
commit
c38179a67f
5 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue