Repository navigation
v1.3.2: Live connection counts and public API docs
Release date: March 9, 2026
Fixes /api/stats reporting zero active connections and adds public API documentation and a live certificate demo to the docs site.
/api/stats connection counts
ApiState previously owned unused ws_connections and sse_connections counters, so /api/stats always returned zero active connections.
The endpoint now reads the actual connection sources:
ws_state: Arc<websocket::AppState>usesConnectionCounter::total().sse_connection_count()reads theSSE_CONNECTION_COUNTAtomicU64.handle_statscalculates totals from those live values.
Documentation
- Added a live SSE certificate demo with detail modal.
- Added a live active-connection counter that reads
/api/statsevery 30 seconds. - Added Google Analytics (GA4) to the docs pages.
Upgrade
Drop-in upgrade from v1.3.1. No configuration or state-file changes.
docker pull ghcr.io/reloading01/certstream-server-rust:1.3.2