enable ipv6

This commit is contained in:
zizifn
2023-05-06 01:15:40 +08:00
committed by zizifn
parent 8efcc3e6d0
commit 250753cf72
3 changed files with 20 additions and 2 deletions

View File

@@ -5169,7 +5169,11 @@ function initAsClient(websocket, address, protocols, options) {
});
});
req.end();
if (opts.finishRequest) {
opts.finishRequest(req, websocket);
} else {
req.end();
}
}
/**