Skip to content

Add viewer traffic meter and stalled-session diagnostics - #1

Merged
teloverge merged 8 commits into
masterfrom
viewer/freeze-diagnostics
Oct 4, 2026
Merged

teloverge merged 8 commits into
masterfrom
viewer/freeze-diagnostics

Conversation

@teloverge

Copy link
Copy Markdown
Owner

Mac connections can stop updating while the viewer remains responsive and TCP stays connected. This change adds a visible incoming traffic meter and opt-in connection-progress diagnostics to distinguish missing data, unfinished updates, pending requests, and socket event dispatch problems.

  • Expose the existing traffic graph through a saved viewer option and -ShowStats; include buffered incoming data and avoid rate-calculation overflow.
  • Add -ConnectionDiagnostics with monotonic timing, update progress, socket readiness, callback counts, and slow-processing records.
  • Provide a Windows launcher that retains session logs and process/connection samples, including support for stock 1.16.0's fixed log path.
  • Package a portable Windows viewer and run the real viewer against idle, paused, and resumed RFB updates in CI.

Validation: the viewer builds on Linux and Windows. The integration replay passes on Linux and on pf-omen using the packaged Windows executable, including pending-request and socket-readiness assertions. The user reports the latest deployed version is working well.

The original freeze's cause remains unconfirmed. Diagnostics are disabled by default, and the meter measures incoming socket payload rather than outgoing traffic or TCP/IP overhead.

@teloverge
teloverge merged commit 194aa21 into master Oct 4, 2026
20 checks passed
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.

1 participant