1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 11:52:20 +01:00

test disable no delay (#1026)

* test disable no delay

* removed set_nodelay code
This commit is contained in:
Guillermo Ruffino
2020-04-30 23:00:57 -03:00
committed by GitHub
parent d49ee47018
commit 14e9375262
5 changed files with 1 additions and 43 deletions

View File

@@ -138,12 +138,6 @@ class APIConnection : public APIServerConnection {
void on_timeout_(uint32_t time);
void on_data_(uint8_t *buf, size_t len);
void parse_recv_buffer_();
void set_nodelay(bool nodelay) override {
if (nodelay == this->current_nodelay_)
return;
this->client_->setNoDelay(nodelay);
this->current_nodelay_ = nodelay;
}
enum class ConnectionState {
WAITING_FOR_HELLO,