Closed
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 '[[]]'