SpacetimeDB
SpacetimeDB copied to clipboard
Fix subs when clients use variying compression
Description of Changes
- Previously, we had a bug when multiple clients would subscribe to the same query and protocol (bsatn) but with different compression algorithms. This PR fixes that by memoizing once per compression algo.
- As part of the fix, it was also discovered that the rust sdk gzip decompression was broken. This PR fixes that too.
API and ABI breaking changes
None
Expected complexity level and risk
2
Testing
A regression test is added to confirm the bugs are fixed.