Skip to content

Commit

Permalink
fix: disable gso on client by default (juicity#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzz2017 authored May 14, 2024
1 parent b1f5882 commit 2f08373
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/client/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ var (
Use: "run",
Short: "To run juicity-client in the foreground.",
Run: func(cmd *cobra.Command, args []string) {
// TODO: Some users reported that enabling GSO on the client would affect the performance of watching YouTube, so we disabled it by default.
if _, ok := os.LookupEnv("QUIC_GO_DISABLE_GSO"); !ok {
os.Setenv("QUIC_GO_DISABLE_GSO", "1")
}
arguments := shared.GetArguments()
// Config.
conf, err := arguments.GetConfig()
Expand Down

0 comments on commit 2f08373

Please sign in to comment.