-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TCP read timeout, reliably stop forwarding by interrupting the th…
…reads (#90) - Add read timeout for the TCP connection to help detect wifi disconnection or other failures - When USB/TCP error is detected, interrupt the other thread to stop waiting on the read/write operation The interruption is required, especially for the usb read/right operations as it currently does not support poll/select. Fixes #26.
- Loading branch information
1 parent
8b76527
commit 8d9c947
Showing
2 changed files
with
63 additions
and
4 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
8d9c947
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nisargjhaveri , Great works, now it works more resilient than ever, I proved with dongle_mode_connection merge dand no problem at all.