-
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.
Make a writemGSO API with just iovecs [3/n]
Summary: **Background for the diff stack**: We'd like to excise the usage of folly from a library that we maintain (quic), which is why we'd like to have a version of `writemGSO` that takes in iovecs instead of IOBufs. **What this diff is doing**: Previously, `writemGSO` called a helper function `writeImpl` that takes in `IOBuf`s. In this diff, I'm having two separate helper functions `writeImpl` and `writeImplIOBufs`. The latter uses `IOBuf`s, while the former doesn't. The version of `writemGSO` that uses `IOBuf`s will call `writeImplIOBufs`, while the version that just uses iovecs will call `writeImpl`. Reviewed By: jbeshay Differential Revision: D68459292 fbshipit-source-id: 954fca1b805399c9716a73206c1782a1f03c6e13
- Loading branch information
1 parent
e969dc6
commit 5627ce3
Showing
2 changed files
with
40 additions
and
29 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