Repository navigation
fix: increase scheme-safe response header timeout - #21469
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Update response-header timeout internal/common/http.go |
GetSchemeSafeHTTPClient increases ResponseHeaderTimeout from 60 seconds to 20 minutes. |
Priority:
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix
Possibly related issues
- [Bug]: Go Agent cite=true adds serial full-answer grounding and delays output compared with v0.27.2 fast paths #21292: The longer response-header wait addresses one timeout layer for long-running Agent model responses, but not the full Agent/SSE timeout scope.
- [Bug]: Docling parser rejects a self-hosted Docling Serve: DOCLING_SERVER_URL on a private host is blocked by the SSRF guard #21425: The change updates the 60-second timeout identified as too short for synchronous self-hosted Docling conversion.
Possibly related PRs
- infiniflow/ragflow#21426: Both changes set a 20-minute response-header wait for scheme-safe HTTP requests.
- infiniflow/ragflow#21434: Both changes alter the scheme-safe response-header timeout in
internal/common/http.go.
Suggested labels: go
Suggested reviewers: jinhai-cn
Merge Risk: 
Minimal · up to 3937c
-
The timeout change matches the stated objective and is mergeable with normal checks.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passed-
Full details: Description check
-
Explanation
The description explains the problem, the timeout change, the reason for the change, and the change type. It does not use the template's exact "### Summary" heading, but it provides the required summary information.
-
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the headers slow,
While twenty minutes let them flow.
No sixty-second rush today,
The patient client will wait its way.
Then hops along beneath the moon.
Comment @coderabbitai help to get the list of available commands.
What problem does this PR solve?
Raises the scheme-safe HTTP client’s response-header timeout from 60 seconds to 20 minutes, so long-running model requests can wait for the provider’s response.
Type of change