mirror of https://github.com/arendst/Tasmota.git
Merge pull request #11307 from s-hadinger/esp32_tls_2k_buffers
ESP32 increase TLS buffers
This commit is contained in:
commit
b6e8e5a2ab
|
@ -183,7 +183,11 @@ void MqttInit(void) {
|
|||
}
|
||||
|
||||
if (Mqtt.mqtt_tls) {
|
||||
#ifdef ESP32
|
||||
tlsClient = new BearSSL::WiFiClientSecure_light(2048,2048);
|
||||
#else // ESP32 - ESP8266
|
||||
tlsClient = new BearSSL::WiFiClientSecure_light(1024,1024);
|
||||
#endif
|
||||
|
||||
#ifdef USE_MQTT_AWS_IOT
|
||||
loadTlsDir(); // load key and certificate data from Flash
|
||||
|
|
Loading…
Reference in New Issue