Skip to content

Commit a2d4c36

Browse files
committed
added: todo for libuv api
1 parent 2bb4591 commit a2d4c36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tcp_wrap.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,11 @@ void TCPWrap::SetKeepAlive(const FunctionCallbackInfo<Value>& args) {
221221
args.GetReturnValue().Set(err);
222222
}
223223

224+
// TODO(amyssnippet): This implementation uses raw setsockopt/getsockopt calls
225+
// as a temporary measure. Upstream support is tracked in
226+
// https://github.com/libuv/libuv/issues/5011.
227+
// Once uv_tcp_set_tos and uv_tcp_get_tos are available in libuv,
228+
// this should be refactored to use those APIs.
224229
void TCPWrap::SetTOS(const FunctionCallbackInfo<Value>& args) {
225230
TCPWrap* wrap;
226231
ASSIGN_OR_RETURN_UNWRAP(

0 commit comments

Comments
 (0)