mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
fix: bump the response header timeout for forwarder as well (#9994)
continuation of #9986, add more place where the lower timeout comes into effect.
This commit is contained in:
1 parent
60417950c7
commit
6136a963c8
3 files changed
+6
-6
No files matched your search
@@ -700,7 +700,7 @@ func (f bucketForwardingHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques
|
||||
func setBucketForwardingHandler(h http.Handler) http.Handler {
|
||||
fwd := handlers.NewForwarder(&handlers.Forwarder{
|
||||
PassHost: true,
|
||||
RoundTripper: NewGatewayHTTPTransport(),
|
||||
RoundTripper: newGatewayHTTPTransport(1 * time.Hour),
|
||||
Logger: func(err error) {
|
||||
logger.LogIf(GlobalContext, err)
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user