Skip to content

Honor NO_PROXY="*" in Gem::Request::ConnectionPools - #9798

Merged
hsbt merged 1 commit into
masterfrom
claude/clever-neumann-088d83
Aug 24, 2026
Merged

Honor NO_PROXY="*" in Gem::Request::ConnectionPools#9798
hsbt merged 1 commit into
masterfrom
claude/clever-neumann-088d83

Conversation

@hsbt

@hsbt hsbt commented Aug 24, 2026

Copy link
Copy Markdown
Member

Setting NO_PROXY=* conventionally bypasses the proxy for every host. curl and net-http-persistent both honor it, and Bundler's fetcher honors it as well, but Gem::Request::ConnectionPools#no_proxy? never matched a * entry, so gem commands kept sending requests through the configured proxy. This treats a * entry as matching every host, so connections are built without proxy arguments.

🤖 Generated with Claude Code

curl and net-http-persistent treat a "*" entry as bypassing the proxy
for every host, and Bundler's fetcher already honors it, but no_proxy?
never matched it, so gem commands kept using the proxy.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hsbt
hsbt merged commit 8976ffc into master Aug 24, 2026
125 of 127 checks passed
@hsbt
hsbt deleted the claude/clever-neumann-088d83 branch August 24, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant