chiark / gitweb /
server messages
[hippotat.git] / server / sweb.rs
index 157261abe7864c2541f16439b837c73401f29914..d4e825e0886f60b093cf99e455379cc38b6a6153 100644 (file)
@@ -19,6 +19,7 @@ pub struct WebRequest {
   pub reply_to: oneshot::Sender<WebResponse>,
   pub warnings: Warnings,
   pub conn: Arc<String>,
+  pub may_route: MayRoute,
 }
 
 /// Reply from client task to hyper worker pool task
@@ -188,6 +189,7 @@ pub async fn handle(
       warnings: mem::take(&mut warnings),
       reply_to,
       conn: conn.clone(),
+      may_route: MayRoute::came_from_outside_hippotatd(),
     };
 
     client.web.try_send(wreq)