diff --git a/Cargo.lock b/Cargo.lock index 1a9f189710bf19..6d94a80c844def 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1252,7 +1252,7 @@ dependencies = [ [[package]] name = "deno_http" -version = "0.121.0" +version = "0.122.0" dependencies = [ "async-compression", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 7aa1dbec2952d0..8f516b2af3e576 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ deno_crypto = { version = "0.139.0", path = "./ext/crypto" } deno_fetch = { version = "0.149.0", path = "./ext/fetch" } deno_ffi = { version = "0.112.0", path = "./ext/ffi" } deno_fs = { version = "0.35.0", path = "./ext/fs" } -deno_http = { version = "0.121.0", path = "./ext/http" } +deno_http = { version = "0.122.0", path = "./ext/http" } deno_io = { version = "0.35.0", path = "./ext/io" } deno_net = { version = "0.117.0", path = "./ext/net" } deno_node = { version = "0.62.0", path = "./ext/node" } diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index 5eb5c6fe4191af..4ff3acf63eed42 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_http" -version = "0.121.0" +version = "0.122.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/http/service.rs b/ext/http/service.rs index c232962be4ff45..4d909ec6159911 100644 --- a/ext/http/service.rs +++ b/ext/http/service.rs @@ -176,7 +176,7 @@ impl Drop for HttpRequestBodyAutocloser { } } -pub async fn handle_request( +pub(crate) async fn handle_request( request: Request, request_info: HttpConnectionProperties, server_state: SignallingRc, // Keep server alive for duration of this future.