1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

Merge pull request #729 from Links2004/esp8266

fix mac 599 for ESP8266HTTPUpdate
This commit is contained in:
Ivan Grokhotkov
2015-08-31 09:38:28 +03:00
10 changed files with 44 additions and 4 deletions

View File

@ -332,3 +332,16 @@ void WiFiClient::stopAll()
}
}
}
void WiFiClient::stopAllExcept(WiFiClient * exC) {
for (WiFiClient* it = _s_first; it; it = it->_next) {
ClientContext* c = it->_client;
if (c && c != exC->_client) {
c->abort();
c->unref();
it->_client = 0;
}
}
}