chiark / gitweb /
own http body type
[hippotat.git] / server / suser.rs
index b4e3e52bf53ffc5eb42f414d077238d7faab0685..48c8be5b8af186f89321994bd04b076c39c341de 100644 (file)
@@ -28,7 +28,7 @@ pub async fn run(global: Arc<Global>,
     target_requests_outstanding: u32,
   }
   let mut outstanding: VecDeque<Outstanding> = default();
-  let  downbound: VecDeque<(/*xxx*/)> = default();
+  let mut downbound: PacketQueue<RoutedPacketData> = default();
 
   let try_send_response = |
     reply_to: oneshot::Sender<WebResponse>,
@@ -51,7 +51,7 @@ pub async fn run(global: Arc<Global>,
       }
     } {
       let response = WebResponse {
-        data: Ok(vec![ /* xxx */ ]),
+        data: Ok(default()),
         warnings: default(),
       };
 
@@ -61,6 +61,7 @@ pub async fn run(global: Arc<Global>,
     select!{
       biased;
 
+      
       // xxx something something routed something
 
       req = web.recv() =>