-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Telnet/WiFiServer: alternative to ESPAsyncTCP (#1799)
* Telnet rewrite, no longer using ESPAsyncTCP * Support two telnet server implementations * Clean up diff * Update types, no free() calls, cleanup * Use std::unique_ptr * Fix nullptr checks * Fix double log with async server * Common new connection method * use same connected() check as sync variant * fixup! use same connected() check as sync variant * Fix compile issue, close connection in case of timeout and when max connections reached * Use AyncsClient* in function call * Allow overriding telnet port + max clients * Do not allocate 512 bytes by default * Use TERMINAL_BUFFER_SIZE
- Loading branch information
Showing
3 changed files
with
145 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters