enso/app/ydoc-shared
Adam Obuchowicz b222ad326a Fix initialization after reconnecting (#11014)
Fixes #10948

The problem was in the binary reconnecting: we sent the first "initProtocol" message, but the connection was reset, and then we try to initialize again. While looking good, the problem was that the party websocket we use queued the first initProtocol message and re-send it by itself on reconnect. Our initProtocol was also sent, but it did not get any response, blocking any further request like `writeBytes`.

(cherry picked from commit 414eee0b48)
2024-09-10 08:34:30 +01:00
..
parser-codegen Split ydoc server into separate module (#10735) 2024-08-08 12:12:05 +00:00
src Fix initialization after reconnecting (#11014) 2024-09-10 08:34:30 +01:00
package.json Split ydoc server into separate module (#10735) 2024-08-08 12:12:05 +00:00
tsconfig.json Split ydoc server into separate module (#10735) 2024-08-08 12:12:05 +00:00
vitest.config.ts Split ydoc server into separate module (#10735) 2024-08-08 12:12:05 +00:00