Skip to content

Commit

Permalink
Merge pull request #171 from zonyitoo/master
Browse files Browse the repository at this point in the history
Set fastOpen with shadowsocks plugin env options
  • Loading branch information
madeye authored Jan 2, 2020
2 parents 48006ae + 62414da commit 0754d6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ func startV2Ray() (core.Server, error) {
*remotePort = c
}
}

if _, b := opts.Get("fastOpen"); b {
*fastOpen = true;
}
}

config, err := generateConfig()
Expand Down

0 comments on commit 0754d6e

Please sign in to comment.