v2ray 9 years ago
parent
commit
25dfa66822

+ 1 - 1
proxy/vmess/protocol/vmess.go

@@ -32,7 +32,7 @@ const (
 )
 
 // VMessRequest implements the request message of VMess protocol. It only contains the header of a
-// request message. The data part will be handled by conection handler directly, in favor of data
+// request message. The data part will be handled by connection handler directly, in favor of data
 // streaming.
 type VMessRequest struct {
 	Version        byte

+ 1 - 1
release/server/main.go

@@ -11,7 +11,7 @@ import (
 	"github.com/v2ray/v2ray-core/common/log"
 	"github.com/v2ray/v2ray-core/shell/point"
 
-	// The following are neccesary as they register handlers in their init functions.
+	// The following are necessary as they register handlers in their init functions.
 	_ "github.com/v2ray/v2ray-core/proxy/blackhole"
 	_ "github.com/v2ray/v2ray-core/proxy/dokodemo"
 	_ "github.com/v2ray/v2ray-core/proxy/freedom"

+ 1 - 1
testing/scenarios/server_env.go

@@ -8,7 +8,7 @@ import (
 	"github.com/v2ray/v2ray-core/common/log"
 	"github.com/v2ray/v2ray-core/shell/point"
 
-	// The following are neccesary as they register handlers in their init functions.
+	// The following are necessary as they register handlers in their init functions.
 	_ "github.com/v2ray/v2ray-core/proxy/blackhole"
 	_ "github.com/v2ray/v2ray-core/proxy/dokodemo"
 	_ "github.com/v2ray/v2ray-core/proxy/freedom"

+ 1 - 1
transport/ray/ray.go

@@ -29,7 +29,7 @@ type InboundRay interface {
 	InboundOutput() <-chan *alloc.Buffer
 }
 
-// Ray is an internal tranport channel bewteen inbound and outbound connection.
+// Ray is an internal tranport channel between inbound and outbound connection.
 type Ray interface {
 	InboundRay
 	OutboundRay