mirror of
https://github.com/XTLS/REALITY.git
synced 2026-09-22 23:08:01 +03:00
Show hs.c.conn == underlying instead
Most log points were added last month and are stable.
This commit is contained in:
@@ -253,10 +253,10 @@ func Server(conn net.Conn, config *Config) (*Conn, error) {
|
||||
hs.clientHello.keyShares[0].group = CurveID(i)
|
||||
break
|
||||
}
|
||||
if config.Show {
|
||||
fmt.Printf("REALITY remoteAddr: %v\ths.c.conn == underlying: %v\n", remoteAddr, hs.c.conn == underlying)
|
||||
}
|
||||
if hs.c.conn == underlying {
|
||||
if config.Show {
|
||||
fmt.Printf("REALITY remoteAddr: %v\ths.c.conn: underlying\n", remoteAddr)
|
||||
}
|
||||
done = true
|
||||
}
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user