0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-12 11:29:36 +03:00

Outbound Splice supports Inbound XTLS

This commit is contained in:
RPRX
2020-12-16 10:35:28 +00:00
committed by GitHub
parent ed0e9b12dc
commit 6a5618bc54
2 changed files with 6 additions and 0 deletions

View File

@ -326,6 +326,9 @@ func ReadV(reader buf.Reader, writer buf.Writer, timer signal.ActivityUpdater, c
if ok {
iConn = statConn.Connection
}
if xc, ok := iConn.(*xtls.Conn); ok {
iConn = xc.Connection
}
if tc, ok := iConn.(*net.TCPConn); ok {
if conn.SHOW {
fmt.Println(conn.MARK, "Splice")