refactor(FileManager): drop HTTPS support — melody downloads over plain HTTP only
The ESP32 mbedTLS TLS handshake requires ~40KB of contiguous heap, which is not reliably available after runtime heap fragmentation. Melody .bsm files carry no credentials so plain HTTP is acceptable. Removed: WiFiClientSecure, esp_task_wdt WDT disable/re-enable around the GET, SSL heap guard, and all secureClient cleanup paths. HTTPS URLs are now rejected immediately with a clear error log (F-027). Also fixed: ensureDirectoryExists now strips trailing slashes instead of appending one — SD.exists() returns false for directories when a trailing slash is present. Docs: feature-catalog.md F-027 added, FileManager README updated. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
#include <SD.h>
|
||||
#include <HTTPClient.h>
|
||||
#include <WiFiClient.h>
|
||||
#include <WiFiClientSecure.h>
|
||||
#include <ArduinoJson.h>
|
||||
#include "../Logging/Logging.hpp"
|
||||
#include "../ConfigManager/ConfigManager.hpp"
|
||||
|
||||
Reference in New Issue
Block a user