mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
WIP: more work on aquatic_http
This commit is contained in:
parent
404e528616
commit
76079cf66e
7 changed files with 211 additions and 183 deletions
|
|
@ -48,7 +48,7 @@ pub fn remove_connection_if_exists(
|
|||
token: Token,
|
||||
){
|
||||
if let Some(mut connection) = connections.remove(&token){
|
||||
connection.close();
|
||||
// connection.close(); // FIXME
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ pub fn remove_inactive_connections(
|
|||
|
||||
connections.retain(|_, connection| {
|
||||
if connection.valid_until.0 < now {
|
||||
connection.close();
|
||||
// connection.close(); // FIXME
|
||||
|
||||
false
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue