Merge b1c3b69391ffb72463f48f596555f7abb9123269 into a6c3a9cbbb5e0a99e0d30e58271f27a0d4e9ae90

This commit is contained in:
Erki Aring 2025-03-02 18:34:17 +08:00 committed by GitHub
commit 7c9d9b9c47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,7 +286,7 @@ static int ws_connect(esp_transport_handle_t t, const char *host, int port, int
int header_len = 0;
do {
if ((len = esp_transport_read(ws->parent, ws->buffer + header_len, WS_BUFFER_SIZE - 1 - header_len, timeout_ms)) <= 0) {
ESP_LOGE(TAG, "Error read response for Upgrade header %s", ws->buffer);
ESP_LOGE(TAG, "Error read response for Upgrade header");
return -1;
}
header_len += len;