boulder/akamai
Roland Bracewell Shoemaker 5ca43d2985 Fix akamai cache purger bugs (#2443)
Fixes two bugs in the Akamai cache purging library and one in the `ocsp-updater` and adds some tests to the Akamai library.

* The first was that the backoff logic was broken, the backoff was calculated but discarded as it was assumed the sleep happened inside `core.RetryBackoff` instead of it returning the amount of time to backoff.
* The second was that the internal HTTP client would only log errors if they were fatal which was superfluous as the caller would also log the fatal errors and masked what the actual issue was during retries.
* The last in `ocsp-updater` was that `path.Join` was used to create a URL which is not an intended use of the method as it attempts to clean paths. This meant that the scheme prefix `http://` would be 'cleaned' to `http:/`, since Akamai has no idea what the malformed URLs referred to it would return 403 Forbidden which we could consider a temporary error and retry until failure.
2016-12-21 09:05:49 -05:00
..
cache-client.go Fix akamai cache purger bugs (#2443) 2016-12-21 09:05:49 -05:00
cache-client_test.go Fix akamai cache purger bugs (#2443) 2016-12-21 09:05:49 -05:00