diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-04-24 14:03:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-24 14:03:37 -0400 |
commit | eed2598e6cf1db643b4edd07b5eff94c59eb9408 (patch) | |
tree | 0320981bba82c78647b9cf335793381400093ad9 /ext/node/polyfills/http2.ts | |
parent | b60822f6e0e3c1f3e360657cfb67c114df2e7032 (diff) |
feat(ext/http): Implement request.signal for Deno.serve (#23425)
When the response has been successfully send, we abort the
`Request.signal` property to indicate that all resources associated with
this transaction may be torn down.
Diffstat (limited to 'ext/node/polyfills/http2.ts')
-rw-r--r-- | ext/node/polyfills/http2.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/http2.ts b/ext/node/polyfills/http2.ts index 023b6acd3..02e66e3da 100644 --- a/ext/node/polyfills/http2.ts +++ b/ext/node/polyfills/http2.ts @@ -36,7 +36,7 @@ import { } from "ext:deno_node/internal/stream_base_commons.ts"; import { FileHandle } from "node:fs/promises"; import { kStreamBaseField } from "ext:deno_node/internal_binding/stream_wrap.ts"; -import { serveHttpOnConnection } from "ext:deno_http/00_serve.js"; +import { serveHttpOnConnection } from "ext:deno_http/00_serve.ts"; import { nextTick } from "ext:deno_node/_next_tick.ts"; import { TextEncoder } from "ext:deno_web/08_text_encoding.js"; import { Duplex } from "node:stream"; |