mmastrac
With Deno.serveHttp marked as deprecated is there a way to run an HTTP server off of a Deno.Conn?
I think we should probably add a
Deno.serveOn
API, but in the meantime you could accept the connection manually and proxy it to your internal Deno.serve
listener that is listening only locally.
I have a feeling Deno.serveHttp
will be around for a while, so I wouldn't be too afraid of using it. We don't have a specific removal date for that API and it's pretty heavily used.8 replies
Leaking operation op_http_close in tests
It looks like you need to get the return value from Deno.serve and
await server.finished
. The combination of fetch + serve requires this as there's a cached connection running in the background and we need to wait for it all to get torn down after the abort controller fires.8 replies
Most complete Deno Rust runtime?
deno_runtime
is probably the best bet -- you should be able to provide the TypescriptModuleLoader
from the ts_module_loader
example to give it near-full functionality. If we can expose more functionality from the CLI by moving into runtime, we can definitely look at that.7 replies
Issues with Crypto Subtle Digest ext:deno_crypto/00_crypto.js
Note that we've been porting ops to the new op2 system over the last month and there's some pretty strict lockstep requirements between deno_core and extensions (ie: what we release is supported) due to the pretty massive flux.
18 replies
`WARNING: v8::OwnedIsolate for snapshot was leaked` and/or crash after using snapshot
I think we will just need to make sure the v8 resources around the modules have been released. Are you able to see if memory is reclaimed by loading/unloading 1000 modules repeatedly?
67 replies