Open barkyq opened 1 year ago
Kudos for supporting compression. Most relays (e.g., nostream
, nostr-rs-relay
) don't. The only other one AFAICT is strfry
not really an issue either, it might be intentional. the compression is much better if the server can do context_takeover
in any case.
Thanks @barkyq, I will take a look on it.
If I send the following header in the websocket handshake:
The returned handshake response says the server does not want to use
permessage-deflate
.But if I just send:
The returned handshake response says the server does want to use
permessage-deflate
.From: https://www.rfc-editor.org/rfc/rfc7692, "It is RECOMMENDED that a server supports the
server_no_context_takeover
extension parameter in an extension negotiation offer."