Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
chore: call res.end() in response
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT committed Oct 12, 2023
1 parent 4936305 commit 13f0cfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/async/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ async function handleRequest(
for await (const chunk of tsonStringifyAsync(obj)) {
res.write(chunk);
}

res.end();
}

const server = http.createServer(
Expand Down

0 comments on commit 13f0cfb

Please sign in to comment.