mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	http_request: fix memory allocation (#916)
This commit is contained in:
		
				
					committed by
					
						 Otto Winter
						Otto Winter
					
				
			
			
				
	
			
			
			
						parent
						
							420c860424
						
					
				
				
					commit
					7c870556c6
				
			| @@ -28,6 +28,7 @@ class HttpRequestComponent : public Component { | |||||||
| #ifdef ARDUINO_ARCH_ESP8266 | #ifdef ARDUINO_ARCH_ESP8266 | ||||||
|     this->wifi_client_ = new BearSSL::WiFiClientSecure(); |     this->wifi_client_ = new BearSSL::WiFiClientSecure(); | ||||||
|     this->wifi_client_->setInsecure(); |     this->wifi_client_->setInsecure(); | ||||||
|  |     this->wifi_client_->setBufferSizes(512, 512); | ||||||
| #endif | #endif | ||||||
|   } |   } | ||||||
|   void dump_config() override; |   void dump_config() override; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user