1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

Merge pull request #2 from esp8266/master

pull master
This commit is contained in:
Me No Dev
2015-11-09 00:44:44 +02:00
8 changed files with 211 additions and 60 deletions

View File

@ -831,7 +831,6 @@ void ESP8266WiFiClass::_eventCallback(void* arg)
if (event->event == EVENT_STAMODE_DISCONNECTED) {
WiFiClient::stopAll();
WiFiUDP::stopAll();
}
}

View File

@ -267,6 +267,9 @@ int WiFiClientSecure::available() {
}
uint8_t WiFiClientSecure::connected() {
if (!_client)
return 0;
if (_client->state() == ESTABLISHED)
return 1;