Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
// end delimiter for the metadata not yet located, but in here somewhere
initial: Box<[u8]>,
initial_remaining: usize,
// end delimiter for the metadata not yet located, but in here somewhere
initial: Box<[u8]>,
initial_remaining: usize,
body: hyper::body::Body,
reply_to: tokio::sync::oneshot::Sender<WebResponse>,
warnings: Warnings,
body: hyper::body::Body,
reply_to: tokio::sync::oneshot::Sender<WebResponse>,
warnings: Warnings,
let wreq = WebRequest {
initial,
initial_remaining,
let wreq = WebRequest {
initial,
initial_remaining,
body,
warnings: mem::take(&mut warnings),
reply_to
body,
warnings: mem::take(&mut warnings),
reply_to
req = web.recv() =>
{
let WebRequest {
req = web.recv() =>
{
let WebRequest {
- initial, initial_remaining, body,
+ initial, initial_remaining, length_hint, body,
reply_to, warnings,
} = req.ok_or_else(|| anyhow!("webservers all shut down!"))?;
reply_to, warnings,
} = req.ok_or_else(|| anyhow!("webservers all shut down!"))?;