Rod Hynes 8 лет назад
Родитель
Сommit
1f04950ec0

+ 1 - 1
psiphon/common/net.go

@@ -197,7 +197,7 @@ type Closer interface {
 // reported only on reads.
 // reported only on reads.
 //
 //
 type ActivityMonitoredConn struct {
 type ActivityMonitoredConn struct {
-	// Note: 64-bit ints used with atomic operations are at placed
+	// Note: 64-bit ints used with atomic operations are placed
 	// at the start of struct to ensure 64-bit alignment.
 	// at the start of struct to ensure 64-bit alignment.
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	monotonicStartTime   int64
 	monotonicStartTime   int64

+ 1 - 1
psiphon/common/osl/osl.go

@@ -199,7 +199,7 @@ type ClientSeedState struct {
 // ClientSeedProgress tracks client progress towards seeding SLOKs for
 // ClientSeedProgress tracks client progress towards seeding SLOKs for
 // a particular scheme.
 // a particular scheme.
 type ClientSeedProgress struct {
 type ClientSeedProgress struct {
-	// Note: 64-bit ints used with atomic operations are at placed
+	// Note: 64-bit ints used with atomic operations are placed
 	// at the start of struct to ensure 64-bit alignment.
 	// at the start of struct to ensure 64-bit alignment.
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	progressSLOKTime int64
 	progressSLOKTime int64

+ 1 - 1
psiphon/common/throttled.go

@@ -63,7 +63,7 @@ type RateLimits struct {
 // The underlying rate limiter uses the token bucket algorithm to
 // The underlying rate limiter uses the token bucket algorithm to
 // calculate delay times for read and write operations.
 // calculate delay times for read and write operations.
 type ThrottledConn struct {
 type ThrottledConn struct {
-	// Note: 64-bit ints used with atomic operations are at placed
+	// Note: 64-bit ints used with atomic operations are placed
 	// at the start of struct to ensure 64-bit alignment.
 	// at the start of struct to ensure 64-bit alignment.
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	readUnthrottledBytes  int64
 	readUnthrottledBytes  int64

+ 1 - 1
psiphon/server/dns.go

@@ -43,7 +43,7 @@ const (
 // "/etc/resolv.conf" on platforms where it is available; and
 // "/etc/resolv.conf" on platforms where it is available; and
 // otherwise using a default value.
 // otherwise using a default value.
 type DNSResolver struct {
 type DNSResolver struct {
-	// Note: 64-bit ints used with atomic operations are at placed
+	// Note: 64-bit ints used with atomic operations are placed
 	// at the start of struct to ensure 64-bit alignment.
 	// at the start of struct to ensure 64-bit alignment.
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	lastReloadTime int64
 	lastReloadTime int64

+ 1 - 1
psiphon/server/meek.go

@@ -644,7 +644,7 @@ func (server *MeekServer) terminateConnection(
 }
 }
 
 
 type meekSession struct {
 type meekSession struct {
-	// Note: 64-bit ints used with atomic operations are at placed
+	// Note: 64-bit ints used with atomic operations are placed
 	// at the start of struct to ensure 64-bit alignment.
 	// at the start of struct to ensure 64-bit alignment.
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	lastActivity                     int64
 	lastActivity                     int64

+ 1 - 1
psiphon/server/tunnelServer.go

@@ -245,7 +245,7 @@ func (server *TunnelServer) GetEstablishTunnels() bool {
 }
 }
 
 
 type sshServer struct {
 type sshServer struct {
-	// Note: 64-bit ints used with atomic operations are at placed
+	// Note: 64-bit ints used with atomic operations are placed
 	// at the start of struct to ensure 64-bit alignment.
 	// at the start of struct to ensure 64-bit alignment.
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	lastAuthLog          int64
 	lastAuthLog          int64

+ 1 - 1
psiphon/server/udp.go

@@ -278,7 +278,7 @@ func (mux *udpPortForwardMultiplexer) removePortForward(connID uint16) {
 }
 }
 
 
 type udpPortForward struct {
 type udpPortForward struct {
-	// Note: 64-bit ints used with atomic operations are at placed
+	// Note: 64-bit ints used with atomic operations are placed
 	// at the start of struct to ensure 64-bit alignment.
 	// at the start of struct to ensure 64-bit alignment.
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	bytesUp      int64
 	bytesUp      int64

+ 1 - 1
psiphon/serverApi.go

@@ -46,7 +46,7 @@ import (
 // offer the Psiphon API through a web service; newer servers offer the Psiphon
 // offer the Psiphon API through a web service; newer servers offer the Psiphon
 // API through SSH requests made directly through the tunnel's SSH client.
 // API through SSH requests made directly through the tunnel's SSH client.
 type ServerContext struct {
 type ServerContext struct {
-	// Note: 64-bit ints used with atomic operations are at placed
+	// Note: 64-bit ints used with atomic operations are placed
 	// at the start of struct to ensure 64-bit alignment.
 	// at the start of struct to ensure 64-bit alignment.
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	// (https://golang.org/pkg/sync/atomic/#pkg-note-BUG)
 	tunnelNumber             int64
 	tunnelNumber             int64