Skip to content

Commit df71288

Browse files
authored
fix register re-try on 423 response (#851)
1 parent f3ebc9e commit df71288

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Registrator.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ ${this._contact};expires=${this._expires}${this._extraContactParams}`);
273273
if (this._expires < MIN_REGISTER_EXPIRES)
274274
this._expires = MIN_REGISTER_EXPIRES;
275275

276+
this._registering = false; // assure register re-try with new expire
276277
// Attempt the registration again immediately.
277278
this.register();
278279
}

0 commit comments

Comments
 (0)