fix config bug
This commit is contained in:
parent
baa23e5925
commit
11db5507ff
6 changed files with 17 additions and 4 deletions
|
|
@ -43,6 +43,8 @@ pub fn parse_opts(globals: &mut Globals, backends: &mut Backends) -> Result<()>
|
|||
if let Some(v) = config.listen_only_ipv6 {
|
||||
if v {
|
||||
listen_addresses.extend(LISTEN_ADDRESSES_V6.iter());
|
||||
} else {
|
||||
listen_addresses.extend(LISTEN_ADDRESSES_V4.iter());
|
||||
}
|
||||
} else if let Some(v) = config.listen_ipv6 {
|
||||
listen_addresses.extend(LISTEN_ADDRESSES_V4.iter());
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ where
|
|||
T: Connect + Clone + Sync + Send + 'static,
|
||||
{
|
||||
pub async fn client_serve_h3(self, conn: quinn::Connecting) -> Result<()> {
|
||||
// TODO: client数の管理
|
||||
let client_addr = conn.remote_address();
|
||||
|
||||
match conn.await {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue