From 7c870556c6204f5acfa52486727e5a708fd61631 Mon Sep 17 00:00:00 2001 From: Nikolay Vasilchuk Date: Tue, 31 Dec 2019 14:40:13 +0300 Subject: [PATCH] http_request: fix memory allocation (#916) --- esphome/components/http_request/http_request.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/http_request/http_request.h b/esphome/components/http_request/http_request.h index 4f772d6826..d26899c0db 100644 --- a/esphome/components/http_request/http_request.h +++ b/esphome/components/http_request/http_request.h @@ -28,6 +28,7 @@ class HttpRequestComponent : public Component { #ifdef ARDUINO_ARCH_ESP8266 this->wifi_client_ = new BearSSL::WiFiClientSecure(); this->wifi_client_->setInsecure(); + this->wifi_client_->setBufferSizes(512, 512); #endif } void dump_config() override;