INNER CODE UNIT · Rust

Some

deeplethe/forkd · crates/sandstorm-core/src/master/mod.rs:120

    if let Some(fc) = cfg.e2b.clone() {
        let e2b = e2b::E2b::new(st.clone(), fc.domain.clone());
        let st = st.clone();
        tokio::spawn(async move {
            // The CA is held only while the certificate is issued.
            let served = {
                let ca = st.ca.lock();
                front::prepare(e2b, fc, &ca)
            };
            match served {
                Ok(fut) => {
                    if let Err(e) = fut.await {
                        tracing::error!(error = %format!("{e:#}"), "the E2B front door stopped");
                    }
                }
                Err(e) => {
                    tracing::error!(error = %format!("{e:#}"), "the E2B front door could not start")
                }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…