Skip to content

Commit

Permalink
Fix #319 (#320)
Browse files Browse the repository at this point in the history
I can't actually reproduce this, but the error in the linked issue is
fairly clear, this should fix it.
  • Loading branch information
einarmo committed Apr 12, 2024
1 parent eab4caa commit f448b14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/client/transport/state.rs
Expand Up @@ -20,7 +20,7 @@ use crate::{
};
use arc_swap::ArcSwap;

pub type RequestSend = tokio::sync::mpsc::Sender<OutgoingMessage>;
pub(crate) type RequestSend = tokio::sync::mpsc::Sender<OutgoingMessage>;

lazy_static! {
static ref NEXT_SESSION_ID: AtomicU32 = AtomicU32::new(1);
Expand Down Expand Up @@ -112,7 +112,7 @@ impl SecureChannelState {
}
}

pub(crate) fn begin_issue_or_renew_secure_channel(
pub(super) fn begin_issue_or_renew_secure_channel(
&self,
request_type: SecurityTokenRequestType,
timeout: Duration,
Expand Down Expand Up @@ -158,7 +158,7 @@ impl SecureChannelState {
debug!("Client offset set to {}", self.client_offset);
}

pub(crate) fn end_issue_or_renew_secure_channel(
pub(super) fn end_issue_or_renew_secure_channel(
&self,
response: SupportedMessage,
) -> Result<(), StatusCode> {
Expand Down

0 comments on commit f448b14

Please sign in to comment.