-
-
Notifications
You must be signed in to change notification settings - Fork 325
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 or even ESTABLISHED state. In others, an existing connection would be reused and would fail at the time of use. When the reader half is closed, signal it to the forwarder_loop task. When a websocket close message is received, signal it to the forwarder_loop task so it may shutdown all write half's. Close the non-taken streams when joining so we may terminate. Signed-off-by: Tiago Castro <[email protected]>
- Loading branch information
1 parent
79f1d7a
commit 70c8b8c
Showing
1 changed file
with
42 additions
and
1 deletion.
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