Skip to content

Commit ac75f78

Browse files
authored
Fix SecNetPerf SendBuffering Config (#5100)
1 parent 9da8ed5 commit ac75f78

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/perf/lib/PerfClient.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,8 @@ PerfClient::Init(
229229
TcpDefaultExecutionProfile)); // Client defaults to using LowLatency profile
230230
} else {
231231
MsQuicSettings Settings;
232-
if (UseSendBuffering) {
233-
Settings.SetSendBufferingEnabled(UseSendBuffering != 0);
234-
}
235-
if (!UsePacing) {
236-
Settings.SetPacingEnabled(UsePacing != 0);
237-
}
232+
Settings.SetSendBufferingEnabled(UseSendBuffering != 0);
233+
Settings.SetPacingEnabled(UsePacing != 0);
238234
const char* IoMode = GetValue(argc, argv, "io");
239235
if (IoMode && IsValue(IoMode, "xdp")) {
240236
Settings.SetXdpEnabled(true);

0 commit comments

Comments
 (0)