seanmonstar / httparse

A push parser for the HTTP 1.x protocol in Rust.
https://docs.rs/httparse
Apache License 2.0
590 stars 115 forks source link

Fix no space after colon #174

Closed seanmonstar closed 5 months ago

seanmonstar commented 5 months ago

It was noticed with a bisect the bug was introduced in this commit, so I'm reverting it for now to get a fix out faster.

cc @lucab

Fixes #172 Fixes #173

lucab commented 5 months ago

@seanmonstar sorry for the trouble, I did miss a cursor-advancing instruction in one spot. Thanks for landing a testcase for this. I've opened https://github.com/seanmonstar/httparse/pull/175 which contains a plain reapply of your revert, plus a fixing commit.