Less memory

This commit is contained in:
jpirnay
2026-04-13 17:54:39 +02:00
parent dae21117fd
commit e768db2ceb
+2 -2
View File
@@ -240,9 +240,9 @@ esp_http_client_handle_t createClient(const char* url, ResponseBuffer* buf,
config.event_handler = httpEventHandler;
config.user_data = activeBuf;
config.method = method;
config.timeout_ms = 15000;
config.timeout_ms = 5000;
config.buffer_size = HTTP_BUF_SIZE;
config.buffer_size_tx = HTTP_BUF_SIZE;
config.buffer_size_tx = 512;
config.crt_bundle_attach = esp_crt_bundle_attach;
config.keep_alive_enable = g_keepSessionOpen;
// Follow up to 3 redirects (e.g. HTTP→HTTPS, path normalization, DuckDNS proxy).