Skip to content

Commit 2262ff1

Browse files
committed
fix: properly advance buffer cursor on header colon
1 parent 72d9192 commit 2262ff1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@ fn parse_headers_iter_uninit<'a>(
11921192

11931193
let mut b = next!(bytes);
11941194
if b == b':' {
1195+
bytes.slice();
11951196
break 'name name;
11961197
}
11971198

0 commit comments

Comments
 (0)