http_request: fix memory allocation (#916)

This commit is contained in:
Nikolay Vasilchuk 2019-12-31 14:40:13 +03:00 committed by Otto Winter
parent 420c860424
commit 7c870556c6

View file

@ -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;