feat(auth)!: подтверждение Client ID с повтором по таймеру
This commit is contained in:
1 parent
caa8fea5bf
commit
d3e4cfc1db
5 files changed
+245
-90
No files matched your search
@@ -176,7 +176,7 @@ func dtlsSession(dtlsctx context.Context, dtlscancel context.CancelFunc, deps *D
|
||||
}()
|
||||
deps.log().Debugf("[STREAM %d] Established DTLS connection", streamID)
|
||||
|
||||
if err := clientsdb.WriteClientID(dtlsConn, params.ClientID, clientsdb.ModeUDP); err != nil {
|
||||
if err := clientsdb.WriteClientID(dtlsctx, dtlsConn, params.ClientID, clientsdb.ModeUDP); err != nil {
|
||||
return fmt.Errorf("failed to write client ID: %w", err)
|
||||
}
|
||||
// Аллокация без DTLS ещё не может передавать пользовательский трафик.
|
||||
|
||||
Reference in new issue
Block a user