andrinheusser
Troubleshooting deno.land downloads
I have docker containers, within a minikube cluster, that have trouble downloading https://deno.land/ sources. Files at raw.githubusercontent.com work fine, but files at deno.land result in "Connection reset by peer". Any ideas what's going on?
I also observed this behavior when running a container directly: (Seems downloading from raw.githubusercontent.com works just fine, but then downloading from deno.land doesn't)
6 replies
Sequentially write to TPC connection
Hey, I experience errors when multiple async functions write to a TCP (
Deno.Conn
) connection. How can I make sure my data is sent fully, even if it can't be written to the send buffer in one function call?
Using this code, I observed data (buf
) being written partially, then data from other async functions being written before the remainder of the partially written data is written.
3 replies