We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bb4591 commit a2d4c36Copy full SHA for a2d4c36
src/tcp_wrap.cc
@@ -221,6 +221,11 @@ void TCPWrap::SetKeepAlive(const FunctionCallbackInfo<Value>& args) {
221
args.GetReturnValue().Set(err);
222
}
223
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.
229
void TCPWrap::SetTOS(const FunctionCallbackInfo<Value>& args) {
230
TCPWrap* wrap;
231
ASSIGN_OR_RETURN_UNWRAP(
0 commit comments