Skip to content

Commit

Permalink
fix(ext/net): node compatibility issue, expose fd using internal symb…
Browse files Browse the repository at this point in the history
…ol in deno_core

Please take a look at PR: denoland/deno#27789
This change will help to expose fd to server when a socket connection is
established.
  • Loading branch information
muthu90tech committed Jan 25, 2025
1 parent 72820bf commit 27d5bd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/01_core.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@
// Extra Deno.core.* exports
const core = ObjectAssign(globalThis.Deno.core, {
internalRidSymbol: Symbol("Deno.internal.rid"),
internalFdSymbol: Symbol("Deno.internal.fd"),
resources,
eventLoopTick,
BadResource,
Expand Down

0 comments on commit 27d5bd1

Please sign in to comment.