mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
restructure aquatic_common_tcp, move more into it from aquatic_http
This commit is contained in:
parent
f3dcc8762e
commit
1dc2f44d9c
9 changed files with 78 additions and 68 deletions
|
|
@ -13,7 +13,6 @@ pub use aquatic_common::ValidUntil;
|
|||
use crate::protocol::*;
|
||||
|
||||
|
||||
|
||||
// identical to ws version
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub struct ConnectionMeta {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use anyhow::Context;
|
|||
use parking_lot::Mutex;
|
||||
use privdrop::PrivDrop;
|
||||
|
||||
use aquatic_common_tcp::network::create_tls_acceptor;
|
||||
use aquatic_common_tcp::network::utils::create_tls_acceptor;
|
||||
|
||||
pub mod common;
|
||||
pub mod config;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ use native_tls::TlsAcceptor;
|
|||
use mio::{Events, Poll, Interest, Token};
|
||||
use mio::net::TcpListener;
|
||||
|
||||
use aquatic_common_tcp::network::create_listener;
|
||||
use aquatic_common_tcp::network::utils::create_listener;
|
||||
|
||||
use crate::common::*;
|
||||
use crate::config::Config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue