Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcpize: set GODEBUG=multipathtcp=1 env var
GO apps don't use the libC, so the LD_PRELOAD technique doesn't work with these apps. But since GO 1.21, MPTCP is natively supported, and can be forced by simply setting GODEBUG=multipathtcp=1. So mptcpize can easily support GO apps by also setting this env var. Similar to the LD_PRELOAD env var, the GODEBUG one is appended with a comma if it was already set. Link: https://go.dev/doc/godebug Link: https://pkg.go.dev/net#Dialer.SetMultipathTCP Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
- Loading branch information