mirror of https://github.com/perkeep/perkeep.git
1e69b9f784
In addition to API changes, the V2 logging API uses google.golang.org/grpc, which does not rely directly on net/http. This is a problem for us because, among other things, when needed (on CoreOS), we insert the system Root CAs in the TLSConfig of the default http client through httputil.InstallCerts, which has no effect on google.golang.org/grpc calls. Therefore, we switch to github.com/bradfitz/grpc-go instead, which does rely on net/http. And since GRPC requires HTTP/2, we also now need to manually configure the default transport (since we're already modifying it) to be HTTP/2 enabled. Related dependencies updated/added: updated: cloud.google.com/go/logging a64eb5d53f434cc548fd6b2898b5a3e8a0c31b78 github.com/golang/protobuf 8ee79997227bf9b34611aee7946ae64735e6fd93 added: github.com/bradfitz/grpc-go 188a132adcfba339f1f2d5da52498451341f9ee8 as a replacement for google.golang.org/grpc github.com/googleapis/gax-go da06d194a00e19ce00d9011a13931c3f6f6887c7 google.golang.org/genproto/googleapis/logging 08f135d1a31b6ba454287638a3ce23a55adace6f google.golang.org/genproto/googleapis/datastore 08f135d1a31b6ba454287638a3ce23a55adace6f google.golang.org/api/support/bundler e4c04685e5d7db47ff294aa9e514b3a638c431c9 google.golang.org/genproto/googleapis/rpc/status 08f135d1a31b6ba454287638a3ce23a55adace6f Fixes #873 Change-Id: I3ba14c94122dd9f1b88ef61c2dc26430690d28a9 |
||
---|---|---|
.. | ||
handlers.go | ||
stats.go | ||
stats_test.go |