Skip to content

Commit d02c364

Browse files
committed
BUILD FIX TO BE DROPPED
1 parent 84d6c6b commit d02c364

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/cfgparse-quic.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,12 @@ static int cfg_parse_quic_tune_setting0(char **args, int section_type,
334334
return -1;
335335

336336
suffix = args[0] + prefix_len;
337+
#if 0
337338
if (strcmp(suffix, "frontend.tx.disable-pacing") == 0) {
338339
global.tune.options |= GTUNE_QUIC_NO_PACING;
339340
}
340-
else if (strcmp(suffix, "disable-udp-gso") == 0) {
341+
#endif
342+
if (strcmp(suffix, "disable-udp-gso") == 0) {
341343
global.tune.options |= GTUNE_QUIC_NO_UDP_GSO;
342344
}
343345
else {

src/mux_quic.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,9 @@ static int qcc_send_frames(struct qcc *qcc, struct list *frms, int stream)
20972097
return -1;
20982098
}
20992099

2100+
#if 0
21002101
if (stream && likely(!(global.tune.options & GTUNE_QUIC_NO_PACING)))
2102+
#endif
21012103
pacer = &qcc->tx.pacer;
21022104

21032105
ret = qc_send_mux(qcc->conn->handle.qc, frms, pacer);

0 commit comments

Comments
 (0)