diff options
| author | João Souto <joao.jpgs@hotmail.com> | 2020-03-23 22:02:51 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-23 18:02:51 -0400 |
| commit | 70a50344315a4c3361fc321e78e076fb09a502b3 (patch) | |
| tree | 1079d325ec898afb7829ac1888ed395ed2ac35d2 /tools | |
| parent | b924e5ab7e69eab4d3b6d9a863a8fc2974f33b5d (diff) | |
feat: Support Unix Domain Sockets (#4176)
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/deno_tcp.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/deno_tcp.ts b/tools/deno_tcp.ts index 9a884cb70..068c48a04 100644 --- a/tools/deno_tcp.ts +++ b/tools/deno_tcp.ts @@ -8,7 +8,6 @@ const listener = Deno.listen({ hostname, port: Number(port) }); const response = new TextEncoder().encode( "HTTP/1.1 200 OK\r\nContent-Length: 12\r\n\r\nHello World\n" ); - async function handle(conn: Deno.Conn): Promise<void> { const buffer = new Uint8Array(1024); try { |
