Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: increase scheme-safe response header timeout (#21469)

buua436e8185a519cfd
diff --git a/internal/common/http.go b/internal/common/http.go
index 4ac97f1b8d..993e8d73a1 100644
--- a/internal/common/http.go
+++ b/internal/common/http.go
@@ -78,7 +78,7 @@ func GetSchemeSafeHTTPClient() *http.Client {
t.MaxIdleConnsPerHost = 500
t.IdleConnTimeout = 90 * time.Second
t.DisableCompression = false
- t.ResponseHeaderTimeout = 60 * time.Second
+ t.ResponseHeaderTimeout = 20 * time.Minute
t.TLSHandshakeTimeout = 30 * time.Second
var rt http.RoundTripper = t