aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-proxy/src/subrequest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pingora-proxy/src/subrequest.rs')
-rw-r--r--pingora-proxy/src/subrequest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pingora-proxy/src/subrequest.rs b/pingora-proxy/src/subrequest.rs
index 68e2876..60a5c73 100644
--- a/pingora-proxy/src/subrequest.rs
+++ b/pingora-proxy/src/subrequest.rs
@@ -124,7 +124,7 @@ pub(crate) struct Ctx {
use crate::HttpSession;
-pub(crate) fn create_dummy_session(parsed_session: &HttpSession) -> HttpSession {
+pub fn create_dummy_session(parsed_session: &HttpSession) -> HttpSession {
// TODO: check if there is req body, we don't capture the body for now
HttpSession::new_http1(Box::new(DummyIO::new(&parsed_session.to_h1_raw())))
}