From 8666d122f0eb5f4435f7bd768a7ccb3a8b2a8c5c Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Sat, 11 Jun 2016 17:20:48 +0800 Subject: [PATCH] InboundHandlerMeta,OutboundHandlerMeta added KcpSupported bool to declare KCP support --- proxy/proxy.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proxy/proxy.go b/proxy/proxy.go index bf7469ba7..f0c100481 100644 --- a/proxy/proxy.go +++ b/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.