mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-24 06:14:01 +08:00
6 lines
307 B
TypeScript
6 lines
307 B
TypeScript
// Dropping an unread compressed Response after HTTP EOF must settle the
|
|
// native transfer immediately. Otherwise its paused keep-alive socket keeps
|
|
// the process alive until the peer times out the connection.
|
|
await fetch(`${process.argv[2]}/gzip-pressure`);
|
|
console.log("abandoned compressed response");
|