Skip to content

Commit

Permalink
Remove session expiration timer upon setting up bridge connection. Cl…
Browse files Browse the repository at this point in the history
…oses eclipse#2634.

Signed-off-by: Jarek Świerczyński <[email protected]>
  • Loading branch information
swiergot committed Jul 22, 2023
1 parent 269756a commit 9eb1e42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bridge.c
Expand Up @@ -84,6 +84,7 @@ int bridge__new(struct mosquitto__bridge *bridge)
if(new_context){
/* (possible from persistent db) */
mosquitto__free(local_id);
session_expiry__remove(new_context);
}else{
/* id wasn't found, so generate a new context */
new_context = context__init(INVALID_SOCKET);
Expand Down

0 comments on commit 9eb1e42

Please sign in to comment.