diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2024-02-14 17:15:14 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2024-02-14 17:15:14 +0100 |
commit | 1a44a1ff4cc3e99ddb8f7d1235842ee7b9cc9f23 (patch) | |
tree | f5b6bf8030c36a27c1662edf69b8516f3248b714 /hbak_common | |
parent | 62886e9796fe43c12ed7f56e7c066d59a679b3c8 (diff) |
debug: TxError deadlock: write timeout
Diffstat (limited to 'hbak_common')
-rw-r--r-- | hbak_common/src/conn.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hbak_common/src/conn.rs b/hbak_common/src/conn.rs index 5fcbcf5..a9faebf 100644 --- a/hbak_common/src/conn.rs +++ b/hbak_common/src/conn.rs @@ -297,6 +297,7 @@ impl StreamConn<Idle> { remote_node_name: String, ) -> io::Result<Self> { stream.set_read_timeout(Some(READ_TIMEOUT))?; + stream.set_write_timeout(Some(READ_TIMEOUT))?; let key = Key::from_slice(&key); let nonce = GenericArray::from_slice(&nonce); |