Update xtls and go to 1.19

This commit is contained in:
yuhan6665 committed 2022-09-15 22:06:59 -04:00
1 parent ed9ffa82c9
commit 84537e98c4
10 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -456,7 +456,7 @@ func (h *Handler) Process(ctx context.Context, network net.Network, connection s
xtlsConn.MARK = "XTLS"
if requestAddons.Flow == vless.XRD {
xtlsConn.DirectMode = true
if sc, ok := xtlsConn.Connection.(syscall.Conn); ok {
if sc, ok := xtlsConn.NetConn().(syscall.Conn); ok {
rawConn, _ = sc.SyscallConn()
}
}