Ver Fonte

InboundHandlerMeta,OutboundHandlerMeta added KcpSupported bool to declare KCP support

Shelikhoo há 9 anos atrás
pai
commit
8666d122f0
1 ficheiros alterados com 4 adições e 0 exclusões
  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.