Add TRUNK_DEBUG option for verbose trunk connection diagnostics
Add TRUNK_DEBUG=1 config option in [GLOBAL] that enables detailed logging of trunk connection lifecycle: state on connect/disconnect, heartbeat countdown warnings near timeout, every non-heartbeat frame with direction and type, send path decisions, and prefix matching details on the trunk server. Helps diagnose connection issues reported in #1 where the remote side kills connections.
This commit is contained in:
1 parent
9c359ba507
commit
638d3c527e
8 files changed
+186
-2
No files matched your search
@@ -50,6 +50,8 @@ Two V2 clients are configured on every reflector:
|
||||
|
||||
A satellite server is enabled on reflector-a (port 5303, secret `sat_secret`).
|
||||
|
||||
All test configs have `TRUNK_DEBUG=1` enabled for verbose trunk logging during test runs.
|
||||
|
||||
### Port Mapping
|
||||
|
||||
| Reflector | Client (TCP+UDP) | Trunk (TCP) | HTTP | Satellite |
|
||||
|
||||
Reference in new issue
Block a user