seanmonstar / httparse

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

Fix no space after colon #174

Closed seanmonstar closed 4 weeks ago

seanmonstar commented 4 weeks 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 4 weeks 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.