forked from golang/crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acme: reduce the number of network round trips
Before this change, every JWS-signed request was preceded by a HEAD request to fetch a fresh nonce. The Client is now able to collect nonce values from server responses and use them for future requests. Additionally, this change also makes sure the client propagates any error encountered during a fresh nonce fetch. Fixes golang/go#18428. Change-Id: I33d21b450351cf4d98e72ee6c8fa654e9554bf92 Reviewed-on: https://go-review.googlesource.com/36514 Reviewed-by: Brad Fitzpatrick <[email protected]>
- Loading branch information
Alex Vaghin
committed
Feb 8, 2017
1 parent
537c9df
commit 9278377
Showing
2 changed files
with
202 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters