This commit is contained in:
v2ray
2016-01-25 17:29:26 +01:00
parent 5e16fa2dcd
commit 9ae258de3d
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ func handleOutput(request *protocol.VMessRequest, writer io.Writer, output <-cha
}
func init() {
internal.MustRegisterInboundConnectionHandlerCreator("vmess",
internal.MustRegisterInboundHandlerCreator("vmess",
func(space app.Space, rawConfig interface{}) (proxy.InboundHandler, error) {
config := rawConfig.(*Config)
+1 -1
View File
@@ -190,7 +190,7 @@ func (this *VMessOutboundHandler) handleResponse(conn net.Conn, request *protoco
}
func init() {
internal.MustRegisterOutboundConnectionHandlerCreator("vmess",
internal.MustRegisterOutboundHandlerCreator("vmess",
func(space app.Space, rawConfig interface{}) (proxy.OutboundHandler, error) {
vOutConfig := rawConfig.(*Config)
return &VMessOutboundHandler{