What is Nostr?
Nicolas Martyanoff /
npub1dkg…54dt
2024-11-17 22:29:25

Nicolas Martyanoff on Nostr: [1/2] Support for connection upgrades (e.g. WebSockets) in the Boulevard reverse ...

[1/2] Support for connection upgrades (e.g. WebSockets) in the Boulevard reverse proxy took forever to land, but it's here!

I had to replace http.Transport (it doesn't support hijacking), and spent way too much time debugging to finally realize that the second argument to the hijack function is not juste a reader on a buffer, it's layered upon the connection itself. Really not obvious.

Author Public Key
npub1dkg70vzk4vvfsc5cup9gkfu2tcrs5unysl7npfvegf78nkuswr5skh54dt