1
0
mirror of https://github.com/go-acme/lego.git synced 2024-12-03 03:08:57 +02:00

Revert "Updated timeout for cloudflare dns challenge"

This commit is contained in:
xenolf 2016-03-23 23:49:52 +01:00
commit a7ce32d9be

View File

@ -175,7 +175,7 @@ func (c *DNSProvider) makeRequest(method, uri string, body io.Reader) (json.RawM
req.Header.Set("X-Auth-Key", c.authKey)
//req.Header.Set("User-Agent", userAgent())
client := http.Client{Timeout: 120 * time.Second}
client := http.Client{Timeout: 30 * time.Second}
resp, err := client.Do(req)
if err != nil {
return nil, fmt.Errorf("Error querying API -> %v", err)