-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wsd: shutdown and close sockets early
We now close socket FDs when we shutdown the underlying connection, rather than waiting until the Socket object is destroyed. This fixes a recent regression where we leaked FDs because we invalidated before closing. This was introduced in af747c1. In addition, we unify the logic to shutdown and close and localize all in setClosed(). Change-Id: Ib3cb84394fca53f41a64aba9201c5779ee536dcf Signed-off-by: Ashod Nakashian <[email protected]>
- Loading branch information
Showing
1 changed file
with
36 additions
and
28 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