mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 23:56:57 +02:00
BUG/MINOR: quic: remove startup alert if GSO unsupported
This patch is similar to the previous one, but for GSO support. Remove alert level message to a diag report only visible with argument -dD. This must be backported up to 3.1.
This commit is contained in:
parent
6fed219fd7
commit
3c239b2f80
@ -565,12 +565,12 @@ static int quic_test_socketopts(struct listener *l)
|
|||||||
|
|
||||||
#ifdef UDP_SEGMENT
|
#ifdef UDP_SEGMENT
|
||||||
if (setsockopt(fdtest, SOL_UDP, UDP_SEGMENT, &zero, sizeof(zero))) {
|
if (setsockopt(fdtest, SOL_UDP, UDP_SEGMENT, &zero, sizeof(zero))) {
|
||||||
ha_alert("Your platform does not support UDP GSO. "
|
ha_diag_warning("Your platform does not support UDP GSO. "
|
||||||
"This will be automatically disabled for QUIC transfer.\n");
|
"This will be automatically disabled for QUIC transfer.\n");
|
||||||
global.tune.options |= GTUNE_QUIC_NO_UDP_GSO;
|
global.tune.options |= GTUNE_QUIC_NO_UDP_GSO;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
ha_alert("Your platform does not support UDP GSO. "
|
ha_diag_warning("Your platform does not support UDP GSO. "
|
||||||
"This will be automatically disabled for QUIC transfer.\n");
|
"This will be automatically disabled for QUIC transfer.\n");
|
||||||
global.tune.options |= GTUNE_QUIC_NO_UDP_GSO;
|
global.tune.options |= GTUNE_QUIC_NO_UDP_GSO;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user