diff --git a/src/src/DataStructs/Web_StreamingBuffer.cpp b/src/src/DataStructs/Web_StreamingBuffer.cpp index 4c47871300..41203f8d7c 100644 --- a/src/src/DataStructs/Web_StreamingBuffer.cpp +++ b/src/src/DataStructs/Web_StreamingBuffer.cpp @@ -222,7 +222,9 @@ void Web_StreamingBuffer::startStream(bool allowOriginAll, buf.clear(); buf.reserve(CHUNKED_BUFFER_SIZE); web_server.client().setNoDelay(true); +#ifdef ESP32 web_server.client().setSSE(false); +#endif if (beforeTXRam < 3000) { lowMemorySkip = true; diff --git a/src/src/ESPEasyCore/Controller.cpp b/src/src/ESPEasyCore/Controller.cpp index 6d2c085779..16ae6c8063 100644 --- a/src/src/ESPEasyCore/Controller.cpp +++ b/src/src/ESPEasyCore/Controller.cpp @@ -204,9 +204,10 @@ bool MQTTConnect(controllerIndex_t controller_idx) // mqtt = WiFiClient(); // workaround see: https://github.com/esp8266/Arduino/issues/4497#issuecomment-373023864 delay(0); +# if FEATURE_MQTT_TLS + uint16_t mqttPort = ControllerSettings->Port; -# if FEATURE_MQTT_TLS mqtt_tls_last_errorstr.clear(); mqtt_tls_last_error = 0; const TLS_types TLS_type = ControllerSettings->TLStype();