mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
revert hostname changes as we now have autoSelectFamily (aka happy eyeballs) enabled
This commit is contained in:
parent
e999ae67ca
commit
3aad065798
1 changed files with 3 additions and 6 deletions
|
@ -460,8 +460,7 @@ Deno.test("[node/http] send request with non-chunked body", async () => {
|
||||||
let requestHeaders: Headers;
|
let requestHeaders: Headers;
|
||||||
let requestBody = "";
|
let requestBody = "";
|
||||||
|
|
||||||
// TODO(kt3k): This should be "localhost" when we implemented autoSelectFamily option for createConnections in node:net
|
const hostname = "localhost";
|
||||||
const hostname = "127.0.0.1";
|
|
||||||
const port = 4505;
|
const port = 4505;
|
||||||
|
|
||||||
const handler = async (req: Request) => {
|
const handler = async (req: Request) => {
|
||||||
|
@ -518,8 +517,7 @@ Deno.test("[node/http] send request with chunked body", async () => {
|
||||||
let requestHeaders: Headers;
|
let requestHeaders: Headers;
|
||||||
let requestBody = "";
|
let requestBody = "";
|
||||||
|
|
||||||
// TODO(kt3k): This should be "localhost" when we implemented autoSelectFamily option for createConnections in node:net
|
const hostname = "localhost";
|
||||||
const hostname = "127.0.0.1";
|
|
||||||
const port = 4505;
|
const port = 4505;
|
||||||
|
|
||||||
const handler = async (req: Request) => {
|
const handler = async (req: Request) => {
|
||||||
|
@ -566,8 +564,7 @@ Deno.test("[node/http] send request with chunked body as default", async () => {
|
||||||
let requestHeaders: Headers;
|
let requestHeaders: Headers;
|
||||||
let requestBody = "";
|
let requestBody = "";
|
||||||
|
|
||||||
// TODO(kt3k): This should be "localhost" when we implemented autoSelectFamily option for createConnections in node:net
|
const hostname = "localhost";
|
||||||
const hostname = "127.0.0.1";
|
|
||||||
const port = 4505;
|
const port = 4505;
|
||||||
|
|
||||||
const handler = async (req: Request) => {
|
const handler = async (req: Request) => {
|
||||||
|
|
Loading…
Reference in a new issue