forked from quic-go/quic-go
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user