Kaynağa Gözat

InboundHandlerMeta,OutboundHandlerMeta added KcpSupported bool to declare KCP support

Shelikhoo 9 yıl önce
ebeveyn
işleme
8666d122f0
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      proxy/proxy.go

+ 4 - 0
proxy/proxy.go

@@ -18,11 +18,15 @@ type InboundHandlerMeta struct {
 	Tag     string
 	Address v2net.Address
 	Port    v2net.Port
+	//Whether this proxy support KCP connections
+	KcpSupported bool
 }
 
 type OutboundHandlerMeta struct {
 	Tag     string
 	Address v2net.Address
+	//Whether this proxy support KCP connections
+	KcpSupported bool
 }
 
 // An InboundHandler handles inbound network connections to V2Ray.