fix: honor -pr http11 by disabling retryablehttp HTTP/2 fallback#2399
fix: honor -pr http11 by disabling retryablehttp HTTP/2 fallback#2399SolariSystems wants to merge 2 commits intoprojectdiscovery:devfrom
Conversation
WalkthroughReplaces string protocol check with a constant and, when HTTP/1.1 is explicitly selected, aliases the retryablehttp fallback client ( Changes
Sequence Diagram(s)sequenceDiagram
participant Test as Test
participant HTTPX as HTTPX (build client)
participant Retryable as retryablehttp (Do)
participant Server as Origin Server
rect rgba(200,200,255,0.5)
Test->>HTTPX: configure Protocol=HTTP11
HTTPX->>Retryable: create HTTPClient (http1-only)
HTTPX-->>Retryable: set HTTPClient2 = HTTPClient
end
Test->>Retryable: Do(Request)
Retryable->>Server: send request (HTTP/1.1)
Server-->>Retryable: respond (OK)
Retryable-->>Test: return response (no HTTP/2 fallback)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 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. Comment |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Hi, thanks for your interest in contributing! Just a heads up, we ask contributors to work on 1 active issue at a time (see). Also, we welcome AI-assisted development, but submissions must be complete, tested, and ready to merge. Please also make sure to fill out the PR template with proof that your changes work. We're closing this PR along with your other open submissions. Once you're ready, feel free to pick one issue to focus on and resubmit; we'd be happy to review it. Appreciate your understanding! |
Uh oh!
There was an error while loading. Please reload this page.