chore: fix multiple typos in comments (#3612)

* chore: fix multiple typos I run into

* Update conn_id_generator_test.go

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* Update internal/ackhandler/sent_packet_handler_test.go

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
This commit is contained in:
Toby
2022-11-06 10:59:16 -08:00
committed by GitHub
parent df762b7552
commit 5fe9f9bd89
5 changed files with 5 additions and 5 deletions

View File

@@ -1217,7 +1217,7 @@ func (s *connection) handleUnpackedPacket(
// We create the connection as soon as we receive the first packet from the client.
// We do that before authenticating the packet.
// That means that if the source connection ID was corrupted,
// we might have create a connection with an incorrect source connection ID.
// we might have created a connection with an incorrect source connection ID.
// Once we authenticate the first packet, we need to update it.
if s.perspective == protocol.PerspectiveServer {
if packet.hdr.SrcConnectionID != s.handshakeDestConnID {