mirror of https://github.com/arendst/Tasmota.git
Merge pull request #13797 from s-hadinger/ota_github_redirect
OTA follows redirects
This commit is contained in:
commit
33383d1ce4
|
@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file.
|
||||||
- Preliminary support for Tasmota Apps (.tapp extesions)
|
- Preliminary support for Tasmota Apps (.tapp extesions)
|
||||||
- Berry support for neopixel (WS2812, SK6812)
|
- Berry support for neopixel (WS2812, SK6812)
|
||||||
- Command ``IfxPeriod `` to overrule ``Teleperiod`` for Influx messages (#13750)
|
- Command ``IfxPeriod `` to overrule ``Teleperiod`` for Influx messages (#13750)
|
||||||
- OTA over HTTPS
|
- OTA over HTTPS (ESP32x only)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- ESP8266 Gratuitous ARP enabled and set to 60 seconds (#13623)
|
- ESP8266 Gratuitous ARP enabled and set to 60 seconds (#13623)
|
||||||
|
|
|
@ -39,13 +39,13 @@ enum LoggingLevels {LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_D
|
||||||
HTTPUpdateLight::HTTPUpdateLight(void)
|
HTTPUpdateLight::HTTPUpdateLight(void)
|
||||||
: _httpClientTimeout(8000), _ledPin(-1)
|
: _httpClientTimeout(8000), _ledPin(-1)
|
||||||
{
|
{
|
||||||
_followRedirects = HTTPC_DISABLE_FOLLOW_REDIRECTS;
|
_followRedirects = HTTPC_STRICT_FOLLOW_REDIRECTS;
|
||||||
}
|
}
|
||||||
|
|
||||||
HTTPUpdateLight::HTTPUpdateLight(int httpClientTimeout)
|
HTTPUpdateLight::HTTPUpdateLight(int httpClientTimeout)
|
||||||
: _httpClientTimeout(httpClientTimeout), _ledPin(-1)
|
: _httpClientTimeout(httpClientTimeout), _ledPin(-1)
|
||||||
{
|
{
|
||||||
_followRedirects = HTTPC_DISABLE_FOLLOW_REDIRECTS;
|
_followRedirects = HTTPC_STRICT_FOLLOW_REDIRECTS;
|
||||||
}
|
}
|
||||||
|
|
||||||
HTTPUpdateLight::~HTTPUpdateLight(void)
|
HTTPUpdateLight::~HTTPUpdateLight(void)
|
||||||
|
|
Loading…
Reference in New Issue