Results 199 comments of Khafra

I was hoping this wouldn't come up 😐. I've had this issue in the past, no idea how to debug it or even cause it. It might be an issue...

It should be noted that the [worker.terminate](https://nodejs.org/api/worker_threads.html#workerterminate) docs explicitly say that it will "[s]top all JavaScript execution in the worker thread **as soon as possible**". There's no guarantee that it'll...

That test case isn't failing on my machine (both windows and ubuntu, using node v19.8.1).

Failing, yes, but it's hard to fix an issue that can't be debugged locally. --- Decompressing the body has a... pretty large number of issues that I can see. I...

does this happen with undici.request? Also, is there a repro that doesn't require a VPN/disabling wifi?

> would that be really be any good? No, but it's the only way that issue could be fixed without adding complexity.

Undici only implements a websocket client, the spec one that has documentation on [mdn](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket). If you want to use the lower level dispatcher api from undici, you can use the...

> Is there any updates on the "Setting an undici Dispatcher rather than using the global dispatcher by default." feature? Yes, I'm planning on implementing my [proposal](https://github.com/whatwg/websockets/issues/42) which will allow...

```mjs class Queue { queue = [] compress = false run () { while (this.queue.length) { const item = this.queue[0] if (!item.done) return this.queue.shift() } } add (item) { if...

This is needed if undici implements a WebSocket client. ``` The request MUST contain an |Upgrade| header field whose value MUST include the "websocket" keyword. ``` ``` The request MUST...