diff options
-rw-r--r-- | .bleep | 2 | ||||
-rw-r--r-- | pingora-proxy/src/lib.rs | 2 | ||||
-rw-r--r-- | pingora-proxy/src/subrequest.rs | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1 +1 @@ -fc39bb0c3d35fa5e07c21c261c2a5a68af53d440
\ No newline at end of file +ce25a5ec3f6937d70f6a60b79adb6dd299144a84
\ No newline at end of file diff --git a/pingora-proxy/src/lib.rs b/pingora-proxy/src/lib.rs index fa639f2..bf4d4ec 100644 --- a/pingora-proxy/src/lib.rs +++ b/pingora-proxy/src/lib.rs @@ -74,7 +74,7 @@ mod proxy_h1; mod proxy_h2; mod proxy_purge; mod proxy_trait; -mod subrequest; +pub mod subrequest; use subrequest::Ctx as SubReqCtx; 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()))) } |