INNER CODE UNIT · Rust

outproxy_given_as_i2p_host_but_no_address_book

eepnet/emissary · emissary-cli/src/proxy/http/mod.rs:682

    async fn outproxy_given_as_i2p_host_but_no_address_book() {
        let sam_port = {
            let sam = SamServer::new().await;
            let port = sam.listener.local_addr().unwrap().port();
            tokio::spawn(sam.run());

            port
        };

        let proxy = HttpProxy::new(
            HttpProxyConfig {
                port: 0,
                host: "127.0.0.1".to_string(),
                outproxy: Some("outproxy.i2p".to_string()),
                tunnel_config: None,
                i2cp: None,
            },
            sam_port,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…