fsprojects / fsprojects/Paket

Paket explicitly bypass proxy on local addresses

Open
#3,361 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

Paket explicitly bypass proxy on local addresses. In certain configuration there could be issue. mono resolves same domain for custom nuget repo and for host which paket runs, but still proxy is required to access that repo. Would be great to have setting to not bypass proxy on local addresses.

Code lines:
https://github.com/fsprojects/Paket/blob/7a386b796cb72f348bd9798ef8e2916a5e8c4e2e/src/Paket.Core/Common/NetUtils.fs#L109

https://github.com/fsprojects/Paket/blob/7a386b796cb72f348bd9798ef8e2916a5e8c4e2e/src/Paket.Core/Common/NetUtils.fs#L148

Repro steps

Please provide the steps required to reproduce the problem

  1. Step A

  2. Step B

If possible then please create a git repository with a repro sample or attach a zip to the issue.

Expected behavior

Configuration to enable or disable bypass proxy on local

Actual behavior

All local addresses are bypassed.

Known workarounds

Setup another proxy

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/Paket.Core/Common/NetUtils.fs at the referenced lines and trace how local addresses are excluded from proxy use. Add the requested configuration behavior so local-address proxy bypass can be enabled or disabled, and verify that both settings produce the expected proxy handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.