mirror of
https://github.com/denoland/deno.git
synced 2025-01-05 13:59:01 -05:00
fmt
This commit is contained in:
parent
9c09c1d889
commit
795c093135
2 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue