mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
More node:http compatibility (#19173)
This commit is contained in:
@@ -47,11 +47,11 @@ const { format } = require("internal/util/inspect");
|
||||
|
||||
const { IncomingMessage } = require("node:_http_incoming");
|
||||
const { OutgoingMessage } = require("node:_http_outgoing");
|
||||
const { kIncomingMessage } = require("node:_http_common");
|
||||
|
||||
const getBunServerAllClosedPromise = $newZigFunction("node_http_binding.zig", "getBunServerAllClosedPromise", 1);
|
||||
const sendHelper = $newZigFunction("node_cluster_binding.zig", "sendHelperChild", 3);
|
||||
|
||||
const kIncomingMessage = Symbol("IncomingMessage");
|
||||
const kServerResponse = Symbol("ServerResponse");
|
||||
const kRejectNonStandardBodyWrites = Symbol("kRejectNonStandardBodyWrites");
|
||||
const GlobalPromise = globalThis.Promise;
|
||||
|
||||
Reference in New Issue
Block a user