1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 13:59:01 -05:00
This commit is contained in:
Yoshiya Hinosawa 2024-10-25 14:47:35 +09:00
parent 9c09c1d889
commit 795c093135
No known key found for this signature in database
GPG key ID: 9017DB4559488785
2 changed files with 0 additions and 2 deletions

View file

@ -85,7 +85,6 @@ export class TLSSocket extends net.Socket {
constructor(socket: any, opts: any = kEmptyObject) {
const tlsOptions = { ...opts };
const hostname = opts.servername ?? opts.host ?? socket._host;
tlsOptions.hostname = hostname;

View file

@ -801,7 +801,6 @@ export class Socket extends Duplex {
super(options);
// Note: If the socket is created from @npmcli/agent, the 'socket' event
// on ClientRequest object happens after 'connect' event on Socket object.
// That swaps the sequence of op_node_http_request_with_conn() call and