We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf6e7f0 commit 3584e42Copy full SHA for 3584e42
quinn/src/endpoint.rs
@@ -372,7 +372,7 @@ impl Drop for EndpointDriver {
372
#[derive(Debug)]
373
pub(crate) struct EndpointInner {
374
socket: UdpSocket,
375
- udp_state: Arc<UdpState>,
+ udp_state: UdpState,
376
inner: proto::Endpoint,
377
outgoing: VecDeque<proto::Transmit>,
378
incoming: VecDeque<Connecting>,
@@ -592,7 +592,7 @@ impl EndpointRef {
592
let (dirty_send, dirty) = mpsc::unbounded_channel();
593
Self(Arc::new(Mutex::new(EndpointInner {
594
socket,
595
- udp_state: Arc::new(UdpState::new()),
+ udp_state: UdpState::new(),
596
inner,
597
ipv6,
598
outgoing: VecDeque::new(),
0 commit comments