Send close websocket frame
Former-commit-id: 31192d817a395def5f1d68e9484aadfad421ec12 [formerly 3f4edf0862c2dc91b689f882896503f64f8476a5] [formerly db9bb14e485302d9561a4bedc9bd62b1920662af [formerly 97c0fb0c421c479e4924b68099297c4463cb0a43]] Former-commit-id: 3226979c73411509b99d0aab261952d0edcfab98 [formerly 6b60dce92011b3df0fa019b8492fd89116f0c005] Former-commit-id: 36df49893ba7d36ee661454faff6addf3527fd56 Former-commit-id: 577dbe725d3757a66703c499ab38499473c24079 Former-commit-id: 9d73eba987833c88d3138e1d8b9a524fa9cc8cd0 Former-commit-id: 260b313ef97e76f3b8e3a63846b67577a6be8c68 [formerly cbfc7f9ba8b9f8f6d6fa2003cafcd0d036e931d4] Former-commit-id: 5e9bbc999d083d0b87282c4c480d619235c9aae6
This commit is contained in:
parent
c265c219f0
commit
a7263ba3dd
1 changed files with 2 additions and 0 deletions
|
@ -462,6 +462,8 @@ async fn propagate_read(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let _ = ws_tx.write_frame(Frame::close(1000, &[])).await;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue