mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-02 15:35:09 -04:00
The cached snapshot was framed when the status last changed, so after a generation bump or further events a new consumer received it stamped with a stale generation and an old event-sequence baseline. Keep only the body and frame it in AcceptClient, so the header carries the generation and sequence in effect at the moment of connection. Tests: a snapshot cached at generation 0 with no events is delivered to a later consumer with the current generation and sequence. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The latest version of these docs can be found at http://zoneminder.readthedocs.org/