• Ted Morse's avatar
    Refactor main read loop for client connections · c1f66a58
    Ted Morse authored
    Old loop would leave a client hanging when invalid JSON was entered.
    This commit refactors the whole loop to avoid that, ensuring even bad
    disconnects clean up any subscribers.
    c1f66a58