-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow moving from AsyncSocket, transfer of FD read state from AsyncFd…
…Socket Summary: The current APIs are a bit clunky, and are intended only for usage in TLS code. If this keeps coming up, it is possible to get closer to real move semantics that works on both `AsyncFdSocket` (with pre-existing read and/or write state) and non-FD `AsyncSocket`. However, figuring out the correct details for the more general thing is considerably more involved, and is just not worth it yet. Reviewed By: AjanthanAsogamoorthy Differential Revision: D48087183 fbshipit-source-id: fb9cf0484733a16648f276fbb5873375d7a1f0c4
- Loading branch information
1 parent
0c113c0
commit 52c192e
Showing
3 changed files
with
99 additions
and
14 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