Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove session expiration timer upon setting up bridge connection (fix #2634) #2859

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Remove session expiration timer upon setting up bridge connection. Cl…
…oses #2634.

Signed-off-by: Jarek Świerczyński <[email protected]>
  • Loading branch information
swiergot committed Jul 22, 2023
commit 9eb1e42d54c73a66644753abd494541b6a2a7e2c
1 change: 1 addition & 0 deletions src/bridge.c
Original file line number Diff line number Diff line change
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