Skip to content

Commit

Permalink
Use WriteOptions instead of a single int to allow for txTime setting too
Browse files Browse the repository at this point in the history
Summary: Use WriteOptions instead of a single int to allow for txTime setting too

Reviewed By: mjoras

Differential Revision: D48218906

fbshipit-source-id: 00a1d4905b54ec0614860f9cdd8b58c9d6e6ef9a
  • Loading branch information
Dan Melnic authored and facebook-github-bot committed Aug 16, 2023
1 parent 6ce30ba commit f65241f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions proxygen/lib/transport/H3DatagramAsyncSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class H3DatagramAsyncSocket

ssize_t writeGSO(const folly::SocketAddress& /*address*/,
const std::unique_ptr<folly::IOBuf>& /*buf*/,
int /*gso*/) override {
folly::AsyncUDPSocket::WriteOptions /*options*/) override {
return -1;
}

Expand All @@ -110,14 +110,14 @@ class H3DatagramAsyncSocket
int writemGSO(folly::Range<folly::SocketAddress const*> /*addrs*/,
const std::unique_ptr<folly::IOBuf>* /*bufs*/,
size_t /*count*/,
const int* /*gso*/) override {
const WriteOptions* /*options*/) override {
return -1;
}

ssize_t writev(const folly::SocketAddress& /*address*/,
const struct iovec* /*vec*/,
size_t /*iovec_len*/,
int /*gso*/) override {
folly::AsyncUDPSocket::WriteOptions /*options*/) override {
return -1;
}

Expand Down

0 comments on commit f65241f

Please sign in to comment.