| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e8289a8 commit d3637cd
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1418,7 +1418,7 @@ function lookupAndConnectMultiple(self, async_id_symbol, lookup, host, options, | |||
| 1418 | 1418 | ||
| 1419 | 1419 | const context = { | |
| 1420 | 1420 | socket: self, | |
| 1421 | - addresses, | ||
| 1421 | + addresses: toAttempt, | ||
| 1422 | 1422 | current: 0, | |
| 1423 | 1423 | port, | |
| 1424 | 1424 | localPort, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -117,7 +117,7 @@ function createDnsServer(ipv6Addrs, ipv4Addrs, cb) { | |||
| 117 | 117 | // Test that only the last successful connection is established. | |
| 118 | 118 | { | |
| 119 | 119 | createDnsServer( | |
| 120 | - '::1', | ||
| 120 | + ['2606:4700::6810:85e5', '2606:4700::6810:84e5', '::1'], | ||
| 121 | 121 | ['104.20.22.46', '104.20.23.46', '127.0.0.1'], | |
| 122 | 122 | common.mustCall(function({ dnsServer, lookup }) { | |
| 123 | 123 | const ipv4Server = createServer((socket) => { | |
@@ -144,7 +144,14 @@ function createDnsServer(ipv6Addrs, ipv4Addrs, cb) { | |||
| 144 | 144 | connection.on('ready', common.mustCall(() => { | |
| 145 | 145 | assert.deepStrictEqual( | |
| 146 | 146 | connection.autoSelectFamilyAttemptedAddresses, | |
| 147 | - [`::1:${port}`, `104.20.22.46:${port}`, `104.20.23.46:${port}`, `127.0.0.1:${port}`] | ||
| 147 | + [ | ||
| 148 | + `2606:4700::6810:85e5:${port}`, | ||
| 149 | + `104.20.22.46:${port}`, | ||
| 150 | + `2606:4700::6810:84e5:${port}`, | ||
| 151 | + `104.20.23.46:${port}`, | ||
| 152 | + `::1:${port}`, | ||
| 153 | + `127.0.0.1:${port}`, | ||
| 154 | + ] | ||
| 148 | 155 | ); | |
| 149 | 156 | })); | |
| 150 | 157 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments