{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/http-parser/issues/338","repository_url":"https://api.github.com/repos/nodejs/http-parser","labels_url":"https://api.github.com/repos/nodejs/http-parser/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/http-parser/issues/338/comments","events_url":"https://api.github.com/repos/nodejs/http-parser/issues/338/events","html_url":"https://github.com/nodejs/http-parser/issues/338","id":181491442,"number":338,"title":"Pipelined requests and error handling","user":{"login":"npmccallum","id":288304,"avatar_url":"https://avatars.githubusercontent.com/u/288304?v=3","gravatar_id":"","url":"https://api.github.com/users/npmccallum","html_url":"https://github.com/npmccallum","followers_url":"https://api.github.com/users/npmccallum/followers","following_url":"https://api.github.com/users/npmccallum/following{/other_user}","gists_url":"https://api.github.com/users/npmccallum/gists{/gist_id}","starred_url":"https://api.github.com/users/npmccallum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npmccallum/subscriptions","organizations_url":"https://api.github.com/users/npmccallum/orgs","repos_url":"https://api.github.com/users/npmccallum/repos","events_url":"https://api.github.com/users/npmccallum/events{/privacy}","received_events_url":"https://api.github.com/users/npmccallum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-06T18:31:38Z","updated_at":"2016-10-06T18:57:39Z","closed_at":null,"body":"If you attempt to call `http_parser_execute()` with a buffer containing `GET / HTTP/1.1\\r\\n\\r\\nG` you receive the HPE_INVALID_METHOD. What I had expected was that no error would be thrown an that I would instead get a short number of bytes read. This would allow me to remove the first request from the buffer and then present the `G` back to `http_parser_execute()` on the next bit of data received.\r\n\r\nAm I perhaps using the API wrong?"},"comment":{"url":"https://api.github.com/repos/nodejs/http-parser/issues/comments/252056663","html_url":"https://github.com/nodejs/http-parser/issues/338#issuecomment-252056663","issue_url":"https://api.github.com/repos/nodejs/http-parser/issues/338","id":252056663,"user":{"login":"2underscores-vic","id":14104863,"avatar_url":"https://avatars.githubusercontent.com/u/14104863?v=3","gravatar_id":"","url":"https://api.github.com/users/2underscores-vic","html_url":"https://github.com/2underscores-vic","followers_url":"https://api.github.com/users/2underscores-vic/followers","following_url":"https://api.github.com/users/2underscores-vic/following{/other_user}","gists_url":"https://api.github.com/users/2underscores-vic/gists{/gist_id}","starred_url":"https://api.github.com/users/2underscores-vic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2underscores-vic/subscriptions","organizations_url":"https://api.github.com/users/2underscores-vic/orgs","repos_url":"https://api.github.com/users/2underscores-vic/repos","events_url":"https://api.github.com/users/2underscores-vic/events{/privacy}","received_events_url":"https://api.github.com/users/2underscores-vic/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T18:57:39Z","updated_at":"2016-10-06T18:57:39Z","body":"AFAIK HTTP 1.1 request has to contain at least \"Host\" header"}}
{"actor":{"display_login":"2underscores-vic"}}