diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2021-09-01 10:31:43 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2021-09-01 10:31:43 +0200 |
commit | d913616f97ca2213e0f98b135d56c9785e449ca7 (patch) | |
tree | 159f98007c5ee5c148294aec892a9c52102c7e37 /client_conn.go | |
parent | 413dc66e1a8cb03858e90fbc1f08601a257b9c08 (diff) |
Server hopping: Reset stored parameters
Diffstat (limited to 'client_conn.go')
-rw-r--r-- | client_conn.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client_conn.go b/client_conn.go index ccbf1a5..228abb9 100644 --- a/client_conn.go +++ b/client_conn.go @@ -6,6 +6,7 @@ import ( "log" "net" "regexp" + "sync" "time" "github.com/HimbeerserverDE/srp" @@ -29,6 +30,7 @@ type clientConn struct { state clientState name string initCh chan struct{} + hopMu sync.Mutex auth struct { method mt.AuthMethods |