mirror of https://github.com/arendst/Tasmota.git
ESP8266 Fix TLS SNI which would prevent AWS IoT connection (#17936)
This commit is contained in:
parent
3ea69f7d7b
commit
bc7ef89b3c
|
@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
|
|||
### Changed
|
||||
|
||||
### Fixed
|
||||
- ESP8266 Fix TLS SNI which would prevent AWS IoT connection
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -309,7 +309,7 @@ int WiFiClientSecure_light::connect(IPAddress ip, uint16_t port) {
|
|||
setLastError(ERR_TCP_CONNECT);
|
||||
return 0;
|
||||
}
|
||||
return _connectSSL(nullptr);
|
||||
return _connectSSL(_domain.isEmpty() ? nullptr : _domain.c_str());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue