File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
components/esp_websocket_client Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1168,12 +1168,6 @@ static void esp_websocket_client_task(void *pv)
11681168 }
11691169 }
11701170 }
1171-
1172-
1173- if (read_select == 0 ) {
1174- ESP_LOGV (TAG , "Read poll timeout: skipping esp_transport_read()..." );
1175- break ;
1176- }
11771171 break ;
11781172 case WEBSOCKET_STATE_WAIT_TIMEOUT :
11791173
@@ -1226,6 +1220,8 @@ static void esp_websocket_client_task(void *pv)
12261220 esp_websocket_client_abort_connection (client , WEBSOCKET_ERROR_TYPE_TCP_TRANSPORT );
12271221 xSemaphoreGiveRecursive (client -> lock );
12281222 }
1223+ } else {
1224+ ESP_LOGV (TAG , "Read poll timeout: skipping esp_transport_poll_read()." );
12291225 }
12301226 } else if (WEBSOCKET_STATE_WAIT_TIMEOUT == client -> state ) {
12311227 // waiting for reconnection or a request to stop the client...
You can’t perform that action at this time.
0 commit comments