For now, GO-GCSPROXY needs to use a patched go, net/http is updated to handle TE:identity.
Follow the instruction below to build a patched go command and toolchain:
git clone git@github.com:golang/go.gitgit checkout go1.23.0go-gcsproxy uses 1.23- Make changes to [your-go-repo-root]/src/net/http/transfer.go. Search "eshen" in here as refernce.
- Run
make.bashunder [your-go-repo-root]/src/. It generates go command under bin/ and toolchain under pkg/ - Add [your-go-repo-root]/bin/ into PATH env, so the patched go command and toolchain will be used when you launch go-gcsproxy.
- Go to go-gcsproxy directory and launch the proxy(make uses the patched go).