1
0
Fork 0
forked from wry/wry

autocommit 2022-03-22 23:24:17 CET

This commit is contained in:
Julian Orth 2022-03-22 23:24:17 +01:00
parent 18806a38fb
commit 2ff60ff817
36 changed files with 4934 additions and 237 deletions

10
src/xcon/outgoing.rs Normal file
View 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();
}