feat: Add disable quic-go GSO to experimental

This commit is contained in:
H1JK
2023-09-08 22:58:59 +08:00
parent 7286391883
commit 90acce7fa1
3 changed files with 12 additions and 1 deletions

View File

@ -181,6 +181,9 @@ func updateListeners(general *config.General, listeners map[string]C.InboundList
}
func updateExperimental(c *config.Config) {
if c.Experimental.QUICGoDisableGSO {
_ = os.Setenv("QUIC_GO_DISABLE_GSO", "1")
}
}
func updateNTP(c *config.NTP) {