Skip to content

Commit c6ecf70

Browse files
authored
refactor(ext/node): create separate ops for node:http module (#24788)
This commit duplicates ops from "ext/fetch" to "ext/node" to kick off a bigger rewrite of "node:http". Most of duplication is temporary and will be removed as these ops evolve.
1 parent 191de7d commit c6ecf70

File tree

5 files changed

+420
-6
lines changed

5 files changed

+420
-6
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/node/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ hkdf.workspace = true
4646
home = "0.5.9"
4747
http.workspace = true
4848
http-body-util.workspace = true
49+
hyper.workspace = true
50+
hyper-util.workspace = true
4951
idna = "0.3.0"
5052
indexmap.workspace = true
5153
ipnetwork = "0.20.0"

ext/node/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ deno_core::extension!(deno_node,
327327
ops::zlib::brotli::op_brotli_decompress_stream,
328328
ops::zlib::brotli::op_brotli_decompress_stream_end,
329329
ops::http::op_node_http_request<P>,
330+
ops::http::op_node_http_fetch_response_upgrade,
331+
ops::http::op_node_http_fetch_send,
330332
ops::http2::op_http2_connect,
331333
ops::http2::op_http2_poll_client_connection,
332334
ops::http2::op_http2_client_request,

0 commit comments

Comments
 (0)