mirror of
https://github.com/XTLS/REALITY.git
synced 2025-08-22 14:38:35 +00:00
all: fix a large number of comments
Partial typo corrections, following https://go.dev/wiki/Spelling Change-Id: I2357906ff2ea04305c6357418e4e9556e20375d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/573776 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: shuang cui <imcusg@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
daf883503b
commit
109710f63d
2
conn.go
2
conn.go
@ -1073,7 +1073,7 @@ func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// writeHandshakeRecord writes a handshake message to the connection and updates
|
// writeHandshakeRecord writes a handshake message to the connection and updates
|
||||||
// the record layer state. If transcript is non-nil the marshalled message is
|
// the record layer state. If transcript is non-nil the marshaled message is
|
||||||
// written to it.
|
// written to it.
|
||||||
func (c *Conn) writeHandshakeRecord(msg handshakeMessage, transcript transcriptHash) (int, error) {
|
func (c *Conn) writeHandshakeRecord(msg handshakeMessage, transcript transcriptHash) (int, error) {
|
||||||
c.out.Lock()
|
c.out.Lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user