Procházet zdrojové kódy

InboundHandlerMeta,OutboundHandlerMeta added KcpSupported bool to declare KCP support

Shelikhoo před 9 roky
rodič
revize
8666d122f0
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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.