Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c473cdf
connmgr: Support whitelisting.
davecgh May 18, 2026
220dea0
connmgr: Add whitelist detection tests.
davecgh May 21, 2026
45898a9
server: Integrate connmgr whitelisting.
davecgh May 18, 2026
600d4df
connmgr: Update README.md for whitelist support.
davecgh May 21, 2026
6003b59
connmgr: Add try acquire support to semaphore.
davecgh May 19, 2026
7730601
connmgr: Add semaphore try acquire tests.
davecgh May 19, 2026
627bf80
connmgr: Limit total overall normal connections.
davecgh May 19, 2026
a347447
connmgr: Add total max normal conns tests.
davecgh May 19, 2026
b525f3c
connmgr: Update README.md for total conn limits.
davecgh May 21, 2026
ed8d59b
connmgr: Wait for all goroutines to finish.
davecgh May 27, 2026
88406e8
connmgr: Use concrete addrmgr types in test.
davecgh May 27, 2026
0635bd3
connmgr: Use concrete addr type more often.
davecgh May 27, 2026
1c0c23a
connmgr: Limit max connections per host.
davecgh May 21, 2026
0015801
connmgr: Add max per-host conn tests.
davecgh May 21, 2026
fdfca08
connmgr: Update README.md for per-host conn limits.
davecgh May 21, 2026
9c4999e
connmgr: Rework to use per-host permits -- to be squashed
davecgh Jul 6, 2026
f997588
connmgr: Update tests for reworked per-host limit -- to be squashed
davecgh Jul 6, 2026
ca629fc
connmgr: Separate mock conn and addr test code.
davecgh May 23, 2026
fb36add
connmgr: Use more modern t.Cleanup in tests.
davecgh May 23, 2026
2f41cec
connmgr: Consistent naming in tests.
davecgh May 23, 2026
e8c8987
connmgr: Use more modern t.Context in tests.
davecgh Jun 8, 2026
6a3fd54
connmgr: Only close once in double close tests.
davecgh May 26, 2026
dd4c264
connmgr: Cleaner dial timeout detection test.
davecgh May 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions internal/connmgr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ The following is a brief overview of the key features:
with exponential backoff on disconnect
- Manual connections
- Supports manual connection establishment via `Connect`
- Connection limits
- Limits total normal (non-persistent) connections to `MaxNormalConns`
- Limits per-host connections to `MaxConnsPerHost` with exemptions for
whitelisted and loopback addresses
- Duplicate address prevention
- Rejects duplicate connections to and from the same address (host:port)
- Whitelist support
- CIDR-based whitelists that allow bypassing certain limits and restrictions
- Rich managed connections via `Conn`
- Connection types for differentiated handling
- Automatic cleanup on connection close
Expand Down
Loading