-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Regression 0.11.12 -> 0.11.13: hangs when processing body in Service #1414
Copy link
Copy link
Closed
Labels
A-serverArea: server.Area: server.C-bugCategory: bug. Something is wrong. This is bad!Category: bug. Something is wrong. This is bad!
Description
A Service with the following endpoint in its call method:
(Post, "/endpoint") => {
debug!("Hang?");
let fut = body
.concat2()
.and_then(move |body: hyper::Chunk| {
debug!("No");
Ok(())
})
.and_then(|_| {
Ok(Response::new().with_status(StatusCode::Ok))
});
Box::new(fut)
}Hangs under 0.11.13, but not under 0.11.12. As tested with:
curl -k -XPOST 'https://localhost:4443/endpoint' -d '[[]]'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-serverArea: server.Area: server.C-bugCategory: bug. Something is wrong. This is bad!Category: bug. Something is wrong. This is bad!