Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Set TCP NO_DELAY for node connections
cloudhead committed 2 years ago
commit 8e541dcf58c52902b6aeb42d37eee06e1c91b2e3
parent 2ca1e74707c8378c377e283428a048063042ca79
1 file changed +1 -0
modified radicle-node/src/wire/protocol.rs
@@ -1102,6 +1102,7 @@ pub fn dial<G: Signer + Ecdh<Pk = NodeId>>(

    connection.set_read_timeout(Some(DEFAULT_CONNECTION_TIMEOUT))?;
    connection.set_write_timeout(Some(DEFAULT_CONNECTION_TIMEOUT))?;
+
    connection.set_nodelay(true)?;

    Ok(session::<G>(
        remote_addr,