mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-28 13:05:28 -05:00
KCP: VMess will advertise its KCP capacity
This commit is contained in:
@@ -220,7 +220,9 @@ func (this *VMessInboundHandler) HandleConnection(connection *hub.Connection) {
|
||||
|
||||
readFinish.Lock()
|
||||
}
|
||||
|
||||
func (this *VMessInboundHandler) setProxyCap() {
|
||||
this.meta.KcpSupported = true
|
||||
}
|
||||
func init() {
|
||||
internal.MustRegisterInboundHandlerCreator("vmess",
|
||||
func(space app.Space, rawConfig interface{}, meta *proxy.InboundHandlerMeta) (proxy.InboundHandler, error) {
|
||||
|
||||
Reference in New Issue
Block a user