diff --git a/ChangeLog.txt b/ChangeLog.txt index 9919c002..dbfe2afd 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -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 diff --git a/src/websockets.c b/src/websockets.c index ac966876..82a3300d 100644 --- a/src/websockets.c +++ b/src/websockets.c @@ -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; @@ -641,8 +639,6 @@ static int callback_http( }else{ mux__remove_out(mosq); } - }else{ - return 1; } break;