Revert "Add support for localAddress and localPort in TCP connections" (#23675)

This commit is contained in:
Meghan Denny
2025-10-14 18:46:47 -08:00
committed by GitHub
parent 37ad295114
commit c3bfff58d9
18 changed files with 43 additions and 346 deletions

View File

@@ -750,7 +750,7 @@ pub fn call(globalObject: *jsc.JSGlobalObject, callframe: *jsc.CallFrame) bun.JS
};
} else {
ptr.socket = .{
.SocketTCP = uws.SocketTCP.connectAnon(hostname.slice(), port, ctx, ptr, false, null, 0) catch |err| {
.SocketTCP = uws.SocketTCP.connectAnon(hostname.slice(), port, ctx, ptr, false) catch |err| {
tls_config.deinit();
if (tls_ctx) |tls| {
tls.deinit(true);