@@ -213,6 +213,9 @@ tokens-file = "path/to/client/tokens" # file that contains a list of client auth
213213tokens = [" client-token-1" , " client-token-n" ] # set of recognized client auth tokens
214214# one of tokens or tokens-file is required
215215
216+ endpoint-expiry-disable = false # disable keeping endpoint registrations alive after client disconnect (default false)
217+ endpoint-expiry-timeout = " 30s" # how long to keep endpoint registrations after client disconnect (default '30s')
218+
216219status-addr = " 127.0.0.1:19180" # address to listen for incoming status connections (TCP/HTTP, [host]:port) (disabled by default)
217220store-dir = " path/to/server-store" # directory for this server to persist runtime information, see Storage section for more info
218221
@@ -247,6 +250,9 @@ clients-tokens-file = "path/to/client/tokens" # file containing a list of client
247250clients-tokens = [" client-token-1" , " client-token-n" ] # list of recognized client auth tokens
248251# one of client-tokens-file or client-tokens is required
249252
253+ endpoint-expiry-disable = false # disable keeping endpoint registrations alive after client disconnect (default false)
254+ endpoint-expiry-timeout = " 30s" # how long to keep endpoint registrations after client disconnect (default '30s')
255+
250256relays-tokens-file = " path/to/relay/token" # file containing a list of relay auth tokens, one token per line
251257relays-tokens = [" relay-token-1" , " relay-token-n" ] # list of recognized relay auth tokens
252258# one of relay-tokens or relay-tokens-file is required if connecting relays
@@ -587,7 +593,6 @@ by adding account management and it is one of the easiest ways to start.
587593## Planlog
588594
589595### Next
590- - [ ] do not discard client/peer/endpoint info immediately
591596 - [ ] controlled server shutdown
592597 - [ ] peer identity and support for options in p2p
593598 - [ ] raw endpoint protocols
@@ -607,6 +612,9 @@ by adding account management and it is one of the easiest ways to start.
607612
608613## Changelog
609614
615+ ### v0.15.0
616+ - [x] endpoint expiry: keep endpoint registrations alive for a grace period after client disconnect to smooth out reconnects
617+
610618### v0.14.0
611619 - [x] rewrite relay to not depend on control connection
612620 - [x] complete migration to relay v2
0 commit comments