kopia lustrzana https://github.com/martin-ger/esp_mqtt
Corrected secure TCP_DISCONNECTING
rodzic
1843a1efb4
commit
90e316cc1e
|
@ -604,7 +604,7 @@ MQTT_Task(os_event_t *e)
|
|||
case TCP_RECONNECT_DISCONNECTING:
|
||||
if (client->security) {
|
||||
#ifdef MQTT_SSL_ENABLE
|
||||
espconn_secure_connect(client->pCon);
|
||||
espconn_secure_disconnect(client->pCon);
|
||||
#else
|
||||
INFO("TCP: Do not support SSL\r\n");
|
||||
#endif
|
||||
|
@ -840,4 +840,4 @@ void ICACHE_FLASH_ATTR
|
|||
MQTT_OnTimeout(MQTT_Client *mqttClient, MqttCallback timeoutCb)
|
||||
{
|
||||
mqttClient->timeoutCb = timeoutCb;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue