Skip to content

Commit

Permalink
fix: typos (#2113)
Browse files Browse the repository at this point in the history
* fix(qpack): typo

* typo
  • Loading branch information
mxinden authored Sep 16, 2024
1 parent 9dd05bb commit c76e8a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion neqo-http3/src/connection_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4351,7 +4351,7 @@ mod tests {
assert_eq!(*server.conn.state(), State::Init);
let out = server.conn.process(out.as_dgram_ref(), now());

// Check that control and qpack streams anda SETTINGS frame are received.
// Check that control and qpack streams and a SETTINGS frame are received.
// Also qpack encoder stream will send "change capacity" instruction because it has
// the peer settings already.
server.check_control_qpack_request_streams_resumption(
Expand Down
2 changes: 1 addition & 1 deletion neqo-qpack/src/decoder_instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl DecoderInstructionReader {
/// 2) `ClosedCriticalStream`
/// 3) other errors will be translated to `DecoderStream` by the caller of this function.
pub fn read_instructions<R: ReadByte>(&mut self, recv: &mut R) -> Res<DecoderInstruction> {
qdebug!([self], "read a new instraction");
qdebug!([self], "read a new instruction");
loop {
match &mut self.state {
DecoderInstructionReaderState::ReadInstruction => {
Expand Down
2 changes: 1 addition & 1 deletion neqo-qpack/src/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl QPackEncoder {
}

fn read_instructions(&mut self, conn: &mut Connection, stream_id: StreamId) -> Res<()> {
qdebug!([self], "read a new instraction");
qdebug!([self], "read a new instruction");
loop {
let mut recv = ReceiverConnWrapper::new(conn, stream_id);
match self.instruction_reader.read_instructions(&mut recv) {
Expand Down

0 comments on commit c76e8a1

Please sign in to comment.