lego/acme
Pavel Forkert d149f14b6b Properly lock jws.nonces (#319)
Before read access to `nonces` field in jws structure (in `Nonces` method) was not synchronized and we were still able
to get `slice bounds out of range` panic when trying to "pop" value in `Nonces` method.

The race can be actually observed by running `Nonce` method multiple times in separate goroutines with th precondition is `len(jws.nonces) == 1`.
2016-12-13 09:49:37 +01:00
..
testdata Dns from resolv.conf (#293) 2016-11-03 19:37:15 +01:00
challenges.go Use http client with timeout of 10s 2016-02-14 14:33:54 -07:00
client.go Add OCSP must staple support 2016-10-27 11:22:10 +02:00
client_test.go Remove keyBits from tests, use keyType instead. 2016-02-21 04:22:03 +01:00
crypto.go Fix OCSP must staple. 2016-12-06 08:41:28 +01:00
crypto_test.go Add OCSP must staple support 2016-10-27 11:22:10 +02:00
dns_challenge.go Dns from resolv.conf (#293) 2016-11-03 19:37:15 +01:00
dns_challenge_manual.go Retry logic for dnsQuery 2016-04-12 00:24:11 +01:00
dns_challenge_test.go Dns from resolv.conf (#293) 2016-11-03 19:37:15 +01:00
error.go httpError - Set detail string to the content of the HTTP response if it's not parsed as JSON 2016-04-15 03:09:29 +02:00
http.go Well a timeout of 10 something is a good idea indeed... 2016-07-21 03:27:34 +02:00
http_challenge.go Add support for EC certificates / account keys 2016-02-21 04:18:45 +01:00
http_challenge_server.go Tweak log message for a wrong host in HTTP-01 2016-11-10 08:24:06 +01:00
http_challenge_test.go Fix HTTP-01 and TLS-SNI invalid port tests for go 1.8 2016-11-14 11:08:33 +01:00
http_test.go Couple more tests to ensure right method is being used 2016-01-13 18:49:25 -07:00
jws.go Properly lock jws.nonces (#319) 2016-12-13 09:49:37 +01:00
messages.go Fix duplicate json tag in recoveryKeyMessage 2016-10-15 19:32:28 +02:00
pop_challenge.go Add remaining challenge types. 2015-06-11 00:11:58 +02:00
provider.go Add ChallengeProviderTimeout type to acme package 2016-03-16 18:17:03 +00:00
tls_sni_challenge.go Updated original signature and removed new function 2016-06-12 22:57:22 -07:00
tls_sni_challenge_server.go Updated original signature and removed new function 2016-06-12 22:57:22 -07:00
tls_sni_challenge_test.go Fix HTTP-01 and TLS-SNI invalid port tests for go 1.8 2016-11-14 11:08:33 +01:00
utils.go Fix WaitFor calls 2016-03-11 04:52:59 +01:00
utils_test.go Fix WaitFor calls 2016-03-11 04:52:59 +01:00