0
0
mirror of https://github.com/XTLS/REALITY.git synced 2025-08-22 14:38:35 +00:00

all: fix problematic comments

Change-Id: If092ae7c72b66f172ae32fa6c7294a7ac250362e
Reviewed-on: https://go-review.googlesource.com/c/go/+/463995
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
This commit is contained in:
yuhan6665 2023-10-09 19:57:30 -04:00
parent b9bfba03b7
commit dad79ae803

View File

@ -846,7 +846,7 @@ func (c *Conn) readFromUntil(r io.Reader, n int) error {
return err return err
} }
// sendAlert sends a TLS alert message. // sendAlertLocked sends a TLS alert message.
func (c *Conn) sendAlertLocked(err alert) error { func (c *Conn) sendAlertLocked(err alert) error {
switch err { switch err {
case alertNoRenegotiation, alertCloseNotify: case alertNoRenegotiation, alertCloseNotify: