Skip to content

Commit

Permalink
Fix websockets listeners with TLS not responding.
Browse files Browse the repository at this point in the history
Closes #2020. Thanks to FozzTexx.
  • Loading branch information
ralight committed Jan 15, 2021
1 parent b8c6f26 commit 0008362
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions ChangeLog.txt
Expand Up @@ -3,6 +3,7 @@ Broker:
has been set.
- Fix message expiry interval property not being honoured in
`mosquitto_broker_publish` and `mosquitto_broker_publish_copy`.
- Fix websockets listeners with TLS not responding. Closes #2020.


2.0.5 - 2021-01-11
Expand Down
4 changes: 0 additions & 4 deletions src/websockets.c
Expand Up @@ -625,8 +625,6 @@ static int callback_http(
HASH_FIND(hh_sock, db.contexts_by_sock, &pollargs->fd, sizeof(pollargs->fd), mosq);
if(mosq){
mux__delete(mosq);
}else{
return 1;
}
break;

Expand All @@ -641,8 +639,6 @@ static int callback_http(
}else{
mux__remove_out(mosq);
}
}else{
return 1;
}
break;

Expand Down

0 comments on commit 0008362

Please sign in to comment.