s3: increase timeout limit
https://github.com/chrislusf/seaweedfs/issues/2541
This commit is contained in:
@@ -364,7 +364,9 @@ func passThroughResponse(proxyResponse *http.Response, w http.ResponseWriter) (s
|
||||
statusCode = proxyResponse.StatusCode
|
||||
}
|
||||
w.WriteHeader(statusCode)
|
||||
io.Copy(w, proxyResponse.Body)
|
||||
if n, err := io.Copy(w, proxyResponse.Body); err != nil {
|
||||
glog.V(1).Infof("passthrough response read %d bytes: %v", n, err)
|
||||
}
|
||||
return statusCode
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user