Open bdashore3 opened 3 hours ago
@bdashore3 are you sure you are on 2.0.6? It works fine for me and this was fixed in https://github.com/denoland/deno/pull/26781
Hi @bartlomieju!
Yes, I'm on Deno v2.0.6. Here's my console info. Should've mentioned that I'm on Windows. Also, that example does not work on my system.
deno 2.0.6 (stable, release, x86_64-pc-windows-msvc)
v8 12.9.202.13-rusty
typescript 5.6.2
However, this does work on the macOS version of Deno. I cannot test Linux, but it should be working there as well if it works on Mac. So, this is a Windows specific issue that maybe fell through testing?
deno 2.0.6 (stable, release, aarch64-apple-darwin)
v8 12.9.202.13-rusty
typescript 5.6.2
Version: Deno 2.0.6
Hi there, I'm trying to create a Hono server with a disconnect handler. When I cancel the request from my Postman client, the abort signal from the raw
Request
object never changes to true. This code works on both Hono and Bun, so I think this is an issue with Deno's fetch API. See example below (requires Hono)