httpd: remove redundant condition from get_client_list()

Premature return from httpd_uri() was also removed to call uri handler after establishing websocket.
This commit is contained in:
Martin Valik
2021-02-28 22:49:50 +01:00
committed by bot
parent 3ddfe1e8ac
commit f221b1655d
3 changed files with 7 additions and 6 deletions

View File

@@ -329,9 +329,6 @@ esp_err_t httpd_uri(struct httpd_data *hd)
aux->sd->ws_handshake_done = true;
aux->sd->ws_handler = uri->handler;
aux->sd->ws_control_frames = uri->handle_ws_control_frames;
/* Return immediately after handshake, no need to call handler here */
return ESP_OK;
}
#endif