Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via these command, `codespell . -L quicly`.
  • Loading branch information
kianmeng authored and jlaine committed Sep 5, 2022
1 parent c758b4d commit 239f99b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ async def main(servers, tests, quic_log=False, secrets_log_file=None) -> None:
parser.add_argument(
"--server", type=str, help="only run against the specified server."
)
parser.add_argument("--test", type=str, help="only run the specifed test.")
parser.add_argument("--test", type=str, help="only run the specified test.")
parser.add_argument(
"-l",
"--secrets-log",
Expand Down
2 changes: 1 addition & 1 deletion src/aioquic/quic/packet_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def _end_packet(self) -> None:
if self._packet.in_flight:
self._datagram_flight_bytes += self._packet.sent_bytes

# short header packets cannot be coallesced, we need a new datagram
# short header packets cannot be coalesced, we need a new datagram
if not self._packet_long_header:
self._flush_current_datagram()

Expand Down
2 changes: 1 addition & 1 deletion src/aioquic/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ def _server_handle_hello(
max_early_data_size=self._max_early_data,
)

# send messsage
# send message
push_new_session_ticket(onertt_buf, self._new_session_ticket)

# notify application
Expand Down
2 changes: 1 addition & 1 deletion tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,7 @@ def test_handle_path_challenge_frame(self):

def test_handle_path_response_frame_bad(self):
with client_and_server() as (client, server):
# server receives unsollicited PATH_RESPONSE
# server receives unsolicited PATH_RESPONSE
with self.assertRaises(QuicConnectionError) as cm:
server._handle_path_response_frame(
client_receive_context(client),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_h3.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ def test_request_fragmented_frame(self):
)
h3_server.send_data(stream_id=push_stream_id, data=b"text", end_stream=True)

# receive push promise / reponse
# receive push promise / response
events = h3_transfer(quic_server, h3_client)
self.assertEqual(
events,
Expand Down

0 comments on commit 239f99b

Please sign in to comment.