Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
disable Unix Domain Sockets for windows
justarandomgeek committed 2 months ago
commit e3db969604126f0f21ec096a25147d5367bdc332
parent 2bbb35b
2 files changed +2 -0
modified radicle-httpd/src/lib.rs
@@ -116,6 +116,7 @@ pub async fn run(options: Options) -> anyhow::Result<()> {
                                "{} \"{} {} {:?}\" {} {:?} {}",
                                match info.connect_info.0 {
                                    DualAddr::Tcp(c) => c.to_string(),
+
                                    #[cfg(unix)]
                                    DualAddr::Uds(_) => "unix-socket".into()
                                },
                                info.method,
modified radicle-httpd/src/main.rs
@@ -63,6 +63,7 @@ fn parse_options() -> Result<httpd::Options, lexopt::Error> {
            Long("listen") => {
                let addr: DualAddr = parser.value()?.parse()?;

+
                #[cfg(unix)]
                // Get socket path and remove it if existing
                if let DualAddr::Uds(socket_path) = &addr {
                    if let Some(path) = socket_path.as_pathname() {