-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Parse Error on http.get in 0.4.11 #1569
Comments
I can confirm that it works with master but fails with v0.4. |
I suspected it was that. We can't easily upgrade the HTTP parser in v0.4. It breaks four tests and the fixes may require API changes (big no no for the v0.4 branch). Cherry-picking ry/http-parser@b89f944 works okay, all tests pass and it fixes the issue. The commit itself is side effect free and it's not an API change either so it seems like the way forward. A standalone test would be nice to have though. Thoughts? |
ry/http-parser@3258e4a? |
That one's probably worth picking too. |
LGTM. +1 |
@ry - Can you merge ry/http-parser@3258e4a and ry/http-parser@b89f944 to v0.4 branch? |
In case someone is experiencing the same problem with To solve it simply remove new line chars from |
Test case for #1569. Verify that http_parser parses multi-line headers.
You get a parse error on this very simple request.
Works on 0.5+
The text was updated successfully, but these errors were encountered: