Skip to content

Mt gateway driver socketio parser max attachments#270

Open
danielebriggi wants to merge 5 commits into
mt-gateway-driverfrom
mt-gateway-driver-socketio-parser-max-attachments
Open

Mt gateway driver socketio parser max attachments#270
danielebriggi wants to merge 5 commits into
mt-gateway-driverfrom
mt-gateway-driver-socketio-parser-max-attachments

Conversation

@danielebriggi
Copy link
Copy Markdown
Member

No description provided.

Daniele Briggi and others added 5 commits May 22, 2026 15:57
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