From 98d19fa6244384f7e17998b5420d724481ed3835 Mon Sep 17 00:00:00 2001 From: dave caruso Date: Mon, 16 Oct 2023 21:22:43 -0700 Subject: fix(runtime): make some things more stable (partial jsc debug build) (#5881) * make our debug assertions work * install bun-webkit-debug * more progress * ok * progress... * more debug build stuff * ok * a * asdfghjkl * fix(runtime): fix bad assertion failure in JSBufferList * ok * stuff * upgrade webkit * Update src/bun.js/bindings/JSDOMWrapperCache.h Co-authored-by: Jarred Sumner * fix message for colin's changes * okay * fix cjs prototype * implement mainModule * i think this fixes it all --------- Co-authored-by: Jarred Sumner --- src/js/node/net.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/js/node/net.js') diff --git a/src/js/node/net.js b/src/js/node/net.js index f8da33d53..56b0f9ced 100644 --- a/src/js/node/net.js +++ b/src/js/node/net.js @@ -426,7 +426,7 @@ const Socket = (function (InternalSocket) { var tls = undefined; if (typeof bunTLS === "function") { - tls = bunTLS.call(this, port, host, true); + tls = bunTLS.$call(this, port, host, true); // Client always request Cert this._requestCert = true; this._rejectUnauthorized = rejectUnauthorized; @@ -838,7 +838,7 @@ class Server extends EventEmitter { const options = this[bunSocketServerOptions]; if (typeof bunTLS === "function") { - [tls, TLSSocketClass] = bunTLS.call(this, port, hostname, false); + [tls, TLSSocketClass] = bunTLS.$call(this, port, hostname, false); options.servername = tls.serverName; options.InternalSocketClass = TLSSocketClass; } else { -- cgit v1.2.3