mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-17 05:47:15 +03:00
Add udp over tcp support for shadowsocks-2022
This commit is contained in:
15
app/proxyman/outbound/uot_stub.go
Normal file
15
app/proxyman/outbound/uot_stub.go
Normal file
@ -0,0 +1,15 @@
|
||||
//go:build !go1.18
|
||||
|
||||
package outbound
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
|
||||
"github.com/xtls/xray-core/common/net"
|
||||
"github.com/xtls/xray-core/transport/internet/stat"
|
||||
)
|
||||
|
||||
func (h *Handler) getUoTConnection(ctx context.Context, dest net.Destination) (stat.Connection, error) {
|
||||
return nil, os.ErrInvalid
|
||||
}
|
Reference in New Issue
Block a user