Skip to content

Commit

Permalink
fix: properly advance buffer cursor on header colon
Browse files Browse the repository at this point in the history
  • Loading branch information
lucab committed Jun 12, 2024
1 parent a6bf055 commit 7de9ddb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,7 @@ fn parse_headers_iter_uninit<'a>(

let mut b = next!(bytes);
if b == b':' {
bytes.slice();
break 'name name;
}

Expand Down

0 comments on commit 7de9ddb

Please sign in to comment.