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:
committed by
GitHub
parent
d49ee47018
commit
14e9375262
@@ -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,
|
||||
|
Reference in New Issue
Block a user