mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-30 01:34:57 +01:00
A half-received or corrupt app-info write was retained forever (cleared only on a successful parse), poisoning every later parse so OpenBikeControl never reported "Connected to app" again until app restart. Reset the reassembler on disconnect and cap the buffer at 512 bytes so a stuck/corrupt stream recovers and can't leak. Adds regression tests for reset and the bound. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>