autocommit 2022-03-22 23:24:17 CET
This commit is contained in:
parent
18806a38fb
commit
2ff60ff817
36 changed files with 4934 additions and 237 deletions
10
src/xcon/outgoing.rs
Normal file
10
src/xcon/outgoing.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use crate::xcon::XconData;
|
||||
use crate::ErrorFmt;
|
||||
use std::rc::Rc;
|
||||
|
||||
pub(super) async fn handle_outgoing(socket: Rc<XconData>) {
|
||||
if let Err(e) = socket.bufio.clone().outgoing().await {
|
||||
log::error!("{}", ErrorFmt(e));
|
||||
}
|
||||
socket.kill();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue