collect_garbage()
for tuic_quinn::Connection
This commit is contained in:
parent
fc6444f86e
commit
823ae55024
@ -8,6 +8,7 @@ use std::{
|
||||
io::Error as IoError,
|
||||
pin::Pin,
|
||||
task::{Context, Poll},
|
||||
time::Duration,
|
||||
};
|
||||
use thiserror::Error;
|
||||
use tuic::{
|
||||
@ -98,6 +99,10 @@ impl<'conn, Side> Connection<'conn, Side> {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn collect_garbage(&self, timeout: Duration) {
|
||||
self.model.collect_garbage(timeout);
|
||||
}
|
||||
|
||||
async fn accept_packet_quic(
|
||||
&self,
|
||||
model: PacketModel<Rx, Bytes>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user