logclient: work around HTTP/2 issue
See https://github.com/google/certificate-transparency/issues/1136
This commit is contained in:
parent
80bfe1321c
commit
db2cd2c458
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue