logclient: work around HTTP/2 issue

See https://github.com/google/certificate-transparency/issues/1136
This commit is contained in:
Andrew Ayer 2016-03-27 11:54:34 -07:00
parent 80bfe1321c
commit db2cd2c458
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ func (c *LogClient) fetchAndParse(uri string, res interface{}) error {
if err != nil { if err != nil {
return err 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) resp, err := c.httpClient.Do(req)
var body []byte var body []byte
if resp != nil { if resp != nil {