Add integration test for dropping host connections while sharing

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Nathan Sobo
2022-03-25 10:32:31 -06:00
co-authored by Antonio Scandurra
parent a3e9a3afbf
commit 62b4eb5efc
2 changed files with 102 additions and 1 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ pub struct ConnectionState {
const KEEPALIVE_INTERVAL: Duration = Duration::from_secs(1);
const WRITE_TIMEOUT: Duration = Duration::from_secs(2);
const RECEIVE_TIMEOUT: Duration = Duration::from_secs(5);
pub const RECEIVE_TIMEOUT: Duration = Duration::from_secs(5);
impl Peer {
pub fn new() -> Arc<Self> {