Parcourir la source

Fix comment typo

Rod Hynes il y a 3 ans
Parent
commit
d3ae222a54
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      psiphon/server/meek.go

+ 2 - 2
psiphon/server/meek.go

@@ -1779,8 +1779,8 @@ func (conn *meekConn) Close() error {
 	if atomic.CompareAndSwapInt32(&conn.closed, 0, 1) {
 		close(conn.closeBroadcast)
 
-		// In general, we reply on "net/http" to close underlying TCP conns.
-		// In this case, we can directly close the first once, if it's still
+		// In general, we rely on "net/http" to close underlying TCP conns. In
+		// this case, we can directly close the first once, if it's still
 		// open. Don't close a persistent connection when fronted, as it may
 		// be still be used by other clients.
 		if !conn.meekServer.isFronted {