cloudflare / cloudflare/workerd
socket.closed() throws with an undefined rejection reason
Open
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
https://github.com/cloudflare/workerd/blob/0d830b1914fec180c4a40c2cea6fbeb007333735/src/node/internal/sockets.d.ts#L21
> We have a worker connecting over a socket to an edge service (Apollo). Our upstreamSocket.closed() call rejects frequently and the rejection reason is undefined. Under what conditions would that be undefined?
Contributor guide
Assessment
This issue has not been assessed yet.