aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.bleep2
-rw-r--r--pingora-core/src/connectors/l4.rs2
-rw-r--r--pingora-core/src/connectors/mod.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/.bleep b/.bleep
index ceecaa7..1850ff7 100644
--- a/.bleep
+++ b/.bleep
@@ -1 +1 @@
-d2eaddcd278a00f25792bf06f046b39aa321abe3 \ No newline at end of file
+7b75bc4d48455b89dc62158a16564821d6a9348e \ No newline at end of file
diff --git a/pingora-core/src/connectors/l4.rs b/pingora-core/src/connectors/l4.rs
index d226a8b..0162034 100644
--- a/pingora-core/src/connectors/l4.rs
+++ b/pingora-core/src/connectors/l4.rs
@@ -34,7 +34,7 @@ pub trait Connect: std::fmt::Debug {
}
/// Establish a connection (l4) to the given peer using its settings and an optional bind address.
-pub async fn connect<P>(peer: &P, bind_to: Option<InetSocketAddr>) -> Result<Stream>
+pub(crate) async fn connect<P>(peer: &P, bind_to: Option<InetSocketAddr>) -> Result<Stream>
where
P: Peer + Send + Sync,
{
diff --git a/pingora-core/src/connectors/mod.rs b/pingora-core/src/connectors/mod.rs
index d13f3a9..09ed01a 100644
--- a/pingora-core/src/connectors/mod.rs
+++ b/pingora-core/src/connectors/mod.rs
@@ -15,7 +15,7 @@
//! Connecting to servers
pub mod http;
-mod l4;
+pub mod l4;
mod offload;
mod tls;