mirror of
https://github.com/SSLMate/certspotter.git
synced 2026-01-21 12:44:20 +01:00
logclient: work around HTTP/2 issue
See https://github.com/google/certificate-transparency/issues/1136
This commit is contained in:
@@ -84,7 +84,7 @@ func (c *LogClient) fetchAndParse(uri string, res interface{}) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
req.Header.Set("Keep-Alive", "timeout=15, max=100")
|
||||
// req.Header.Set("Keep-Alive", "timeout=15, max=100")
|
||||
resp, err := c.httpClient.Do(req)
|
||||
var body []byte
|
||||
if resp != nil {
|
||||
|
||||
Reference in New Issue
Block a user