{"action":"created","issue":{"url":"https://api.github.com/repos/hyperium/hyper/issues/967","repository_url":"https://api.github.com/repos/hyperium/hyper","labels_url":"https://api.github.com/repos/hyperium/hyper/issues/967/labels{/name}","comments_url":"https://api.github.com/repos/hyperium/hyper/issues/967/comments","events_url":"https://api.github.com/repos/hyperium/hyper/issues/967/events","html_url":"https://github.com/hyperium/hyper/issues/967","id":193342407,"number":967,"title":"method POST with body-raw incorrect work buffer in server with request","user":{"login":"sapsan4eg","id":10814856,"avatar_url":"https://avatars.githubusercontent.com/u/10814856?v=3","gravatar_id":"","url":"https://api.github.com/users/sapsan4eg","html_url":"https://github.com/sapsan4eg","followers_url":"https://api.github.com/users/sapsan4eg/followers","following_url":"https://api.github.com/users/sapsan4eg/following{/other_user}","gists_url":"https://api.github.com/users/sapsan4eg/gists{/gist_id}","starred_url":"https://api.github.com/users/sapsan4eg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapsan4eg/subscriptions","organizations_url":"https://api.github.com/users/sapsan4eg/orgs","repos_url":"https://api.github.com/users/sapsan4eg/repos","events_url":"https://api.github.com/users/sapsan4eg/events{/privacy}","received_events_url":"https://api.github.com/users/sapsan4eg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-04T09:57:38Z","updated_at":"2016-12-09T12:13:11Z","closed_at":null,"body":"Hi guys, i have problem when i send POST with body-raw to my server. First request work fine, but following requests with same data will wrong parsing. If the difference is **less than a second** between requests. The method is added to the body-raw.\r\nFor example, this for second and following requests print to console: `{\"mydata\":\"the data that I sent\"}}POST`\r\n```\r\n#![deny(warnings)]\r\nextern crate hyper;\r\nextern crate env_logger;\r\n\r\nuse hyper::server::{Request, Response};\r\n\r\nstatic PHRASE: &'static [u8] = b\"Hello World!\";\r\n\r\nfn hello(req: Request, res: Response) {\r\n    println!(\"{}\", req.method);\r\n    res.send(PHRASE).unwrap();\r\n}\r\n\r\nfn main() {\r\n    env_logger::init().unwrap();\r\n    let _listening = hyper::Server::http(\"127.0.0.1:3000\").unwrap()\r\n        .handle(hello);\r\n    println!(\"Listening on http://127.0.0.1:3000\");\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/hyperium/hyper/issues/comments/266000239","html_url":"https://github.com/hyperium/hyper/issues/967#issuecomment-266000239","issue_url":"https://api.github.com/repos/hyperium/hyper/issues/967","id":266000239,"user":{"login":"sapsan4eg","id":10814856,"avatar_url":"https://avatars.githubusercontent.com/u/10814856?v=3","gravatar_id":"","url":"https://api.github.com/users/sapsan4eg","html_url":"https://github.com/sapsan4eg","followers_url":"https://api.github.com/users/sapsan4eg/followers","following_url":"https://api.github.com/users/sapsan4eg/following{/other_user}","gists_url":"https://api.github.com/users/sapsan4eg/gists{/gist_id}","starred_url":"https://api.github.com/users/sapsan4eg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapsan4eg/subscriptions","organizations_url":"https://api.github.com/users/sapsan4eg/orgs","repos_url":"https://api.github.com/users/sapsan4eg/repos","events_url":"https://api.github.com/users/sapsan4eg/events{/privacy}","received_events_url":"https://api.github.com/users/sapsan4eg/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T12:13:11Z","updated_at":"2016-12-09T12:13:11Z","body":"That issue was closed but not soled. As I understand it the only way out is to move to 0.10. But the release has not yet been. And 0.9x is not compatible with 0.10. And this does not solve the current problem with 0.9x."}}
{"actor":{"display_login":"sapsan4eg"}}