Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In some situations it was observed that connections lingered in a CLOSE_WAIT state. In others, an existing connection would be reused and would fail at the time of use. When the reader half is closed, shutdown the writer half. When a message is received indicating a closed socket, shutdown all write half's. Change the example to shutdown the portforward, as otherwise it might never stop. Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
- Loading branch information
1 parent
79f1d7a
commit 90a6e78
Showing
2 changed files
with
29 additions
and
2 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