mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 01:58:05 -05:00
enable [node/http] client closing a streaming request doesn't terminate server
This commit is contained in:
parent
781eb00dfe
commit
2a290317d2
1 changed files with 69 additions and 75 deletions
|
@ -1377,12 +1377,7 @@ Deno.test("[node/http] client closing a streaming response doesn't terminate ser
|
|||
clearInterval(interval!);
|
||||
});
|
||||
|
||||
Deno.test(
|
||||
"[node/http] client closing a streaming request doesn't terminate server",
|
||||
{
|
||||
ignore: true,
|
||||
},
|
||||
async () => {
|
||||
Deno.test("[node/http] client closing a streaming request doesn't terminate server", async () => {
|
||||
let interval: number;
|
||||
let uploadedData = "";
|
||||
let requestError: Error | null = null;
|
||||
|
@ -1460,8 +1455,7 @@ Deno.test(
|
|||
server.close();
|
||||
assertEquals(server.listening, false);
|
||||
clearInterval(interval!);
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Deno.test("[node/http] http.request() post streaming body works", async () => {
|
||||
const server = http.createServer((req, res) => {
|
||||
|
|
Loading…
Reference in a new issue