web: tokio::sync::mpsc::Sender<WebRequest>,
}
+pub type RoutedPacket = Box<[u8]>; // not MIME data
+
/// Sent from hyper worker pool task to client task
#[allow(dead_code)] // xxx
#[derive(Debug)]
#[throws(PacketError)]
pub fn route_packet(_global: &Global,
conn: &str, link: &dyn Display,
- packet: Box<[u8]>, daddr: IpAddr)
+ packet: RoutedPacket, daddr: IpAddr)
{
// xxx
trace!("{} {} discarding packet daddr={:?} len={}",