Track open connections in a connection registry

Merged
PU
9d ago
+131-25

Reverb derives its list of open connections from channel subscriptions. A connection that has not subscribed to a channel yet is missing from that list. The connection count, the ping and prune jobs, and the graceful shutdown skip it.

This adds a ConnectionRegistry that tracks each connection from open to close. Those features now read from the registry. The ChannelManager contract does not change.