Closed DheerendraRathor closed 7 months ago
tls.Conn by default doesn't implement syscall.Conn and hence tchannel emits onnection does not implement SyscallConn. log a lot.
tls.Conn
syscall.Conn
onnection does not implement SyscallConn.
Since go 1.18, tls.Conn exposes method NetConn() to expose raw underlying TCP connection. This is used for getting the syscall.Conn.
NetConn()
can you rebase off of #919 and push again?
tls.Conn
by default doesn't implementsyscall.Conn
and hence tchannel emitsonnection does not implement SyscallConn.
log a lot.Since go 1.18,
tls.Conn
exposes methodNetConn()
to expose raw underlying TCP connection. This is used for getting thesyscall.Conn
.