From 9dd4f016b1d662434413fb4b7890c57b99dfaa00 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sun, 27 Nov 2016 21:40:19 +0100 Subject: [PATCH] gofmt --- proxy/vmess/encoding/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/vmess/encoding/server.go b/proxy/vmess/encoding/server.go index 1556ef62..37656d11 100644 --- a/proxy/vmess/encoding/server.go +++ b/proxy/vmess/encoding/server.go @@ -85,7 +85,7 @@ func (v *ServerSession) DecodeRequestHeader(reader io.Reader) (*protocol.Request v.requestBodyIV = append([]byte(nil), buffer[1:17]...) // 16 bytes v.requestBodyKey = append([]byte(nil), buffer[17:33]...) // 16 bytes v.responseHeader = buffer[33] // 1 byte - request.Option = protocol.RequestOption(buffer[34]) // 1 byte + 2 bytes reserved + request.Option = protocol.RequestOption(buffer[34]) // 1 byte + 2 bytes reserved request.Command = protocol.RequestCommand(buffer[37]) request.Port = v2net.PortFromBytes(buffer[38:40])