boulder/grpc
Roland Bracewell Shoemaker 6264706557 Fix distributed CAA resolver (#1813)
While testing with real proxies I noticed the original CDR implementation was actually pretty broken, this refactors a bit and fixes a number of bugs. With this patch fallback to GPDNS over three distributed test proxies worked perfectly.

(Side note: `nginx` is not a viable forward proxy for this use as it doesn't support SSL, and a bunch of other _real_ forward proxy features, I ended up just using `squid3`.)

The main error in the previous implementation was the fallback was implemented in `getCAASet` which is only called in the old code path (the local CAA impl instead of the remote service) which mean't it wasn't actually being tested in the integration test. This also refactors a few repeated blocks into their own functions. Also there was a unicode encoding problem somewhere with the query string but for the life of me I can't figure out why it was broken now.
2016-06-23 11:30:20 -07:00
..
creds Allow gRPC clients to connect to multiple backends (#1918) 2016-06-15 16:50:56 -07:00
balancer.go Allow gRPC clients to connect to multiple backends (#1918) 2016-06-15 16:50:56 -07:00
balancer_test.go Allow gRPC clients to connect to multiple backends (#1918) 2016-06-15 16:50:56 -07:00
bcodes.go Fix distributed CAA resolver (#1813) 2016-06-23 11:30:20 -07:00
bcodes_test.go Fix distributed CAA resolver (#1813) 2016-06-23 11:30:20 -07:00
interceptors.go Add gRPC server-side interceptor (#1933) 2016-06-20 11:27:32 -04:00
interceptors_test.go Add gRPC server-side interceptor (#1933) 2016-06-20 11:27:32 -04:00
pb-marshalling.go Remove last vestiges of challenge.AccountKey. (#1949) 2016-06-21 16:25:58 -07:00
pb-marshalling_test.go Remove last vestiges of challenge.AccountKey. (#1949) 2016-06-21 16:25:58 -07:00
util.go Add gRPC server-side interceptor (#1933) 2016-06-20 11:27:32 -04:00
wrappers.go Improve VA and RA initialization (#1867) 2016-06-02 11:57:37 -07:00