mirror of
https://github.com/smittix/intercept.git
synced 2026-06-20 19:28:26 -07:00
a3b81bead8
The fft_reader thread was calling ws.send() concurrently with ws.receive() in the main loop. simple-websocket is not thread-safe for simultaneous read/write, corrupting frame headers. Now the reader thread enqueues frames and only the main loop touches the WebSocket. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>