Skip to content

Fix/socketio parser max attachments#269

Open
danielebriggi wants to merge 2 commits into
mainfrom
fix/socketio-parser-max-attachments
Open

Fix/socketio parser max attachments#269
danielebriggi wants to merge 2 commits into
mainfrom
fix/socketio-parser-max-attachments

Conversation

@danielebriggi
Copy link
Copy Markdown
Member

No description provided.

andinux and others added 2 commits May 20, 2026 17:14
socket.io-parser 4.2.6 rejects binary packets with more than 10 attachments by default. SQLite Cloud rowsets with BLOB values can exceed that count, causing the browser websocket driver to fail with a parser error before the binary payloads are delivered.

Add socket.io-parser as an explicit dependency and pass a custom parser to socket.io-client. The custom decoder raises maxAttachments while preserving the standard encoder and normal Socket.IO transport negotiation.

Add a focused unit assertion for the websocket connection options so the parser override remains wired into future builds.
Add a minimal Vite + TypeScript example that queries SQLite Cloud over
WebSocket from the browser. Uses a generic runQuery helper and consumes the driver from a locally packed tarball via npm run sync-driver, documented in the README.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants