-
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 [2/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**: I'd like to use `fillMsgVec` within the version of `writemGSO` that takes in iovecs instead of IOBufs. I'm changing the signature of `fillMsgVec` so that it doesn't need to take in any IOBufs. Instead, it gets the lengths of the buffers from the passed in array `messageIovLens`, which is filled in by `fillIoVec`. Reviewed By: jbeshay Differential Revision: D67873321 fbshipit-source-id: 93181cc69f51bce84e985c17b5f0d660e12c620e
- Loading branch information
1 parent
aa229d8
commit e969dc6
Showing
2 changed files
with
26 additions
and
8 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