summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/deno_tcp.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/deno_tcp.ts b/tools/deno_tcp.ts
index 5b61bd4cd..d744a09c1 100644
--- a/tools/deno_tcp.ts
+++ b/tools/deno_tcp.ts
@@ -13,7 +13,7 @@ async function handle(conn: Deno.Conn): Promise<void> {
try {
while (true) {
const r = await conn.read(buffer);
- if (r.eof) {
+ if (r === Deno.EOF) {
break;
}
await conn.write(response);