Skip to content

Commit

Permalink
force bind token refresh if ER invalidates terminator (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby authored Oct 2, 2024
1 parent c4411fc commit 29c1d3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/bind.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ static void on_message(struct binding_s *b, message *msg, int code) {
switch (msg->header.content) {
case ContentTypeStateClosed:
CONN_LOG(DEBUG, "binding[%s] was closed: %.*s", b->ch->url, msg->header.body_len, msg->body);
FREE(conn->server.token);
stop_binding(b);
schedule_rebind(b->conn, true);
break;
Expand Down

0 comments on commit 29c1d3f

Please sign in to comment.