Support proxy exception list
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- haskell
- 领域
- networking
调研方向
从 Proxy 构造函数以及 issue 中描述的连接建立路径开始。跟踪代理目标主机的选择方式,然后定义例外列表应如何表示和匹配。完成的标准是,列出的主机直接连接,而其他目标继续使用代理;issue 中没有指定测试或文件。
由索引模型根据 Issue 内容生成。
描述
I'm glad to see the new auto-proxy support, much more convenient!
A closely related feature is that more complicated proxy configurations have exception lists, e.g. no_proxy=localhost, listing servers (usually on the local LAN) that should not go via the proxy. Windows allows this, and it seems from a quick search that on unix the no_proxy env var can be used. At least, wget and w3m use it.
I know of a user who actually needs a setup like this, everything goes through a proxy, but they have some servers on localhost which the proxy of course is not aware of.
So I think what'd we'd need is to extend the Proxy constructor with such a list, and then check when we're about to make a connection if the target host is on the list and if so to make a direct connection rather than using the proxy.
- 主要语言
- Haskell
- 星标
- 186
- 派生
- 59
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
haskell/HTTP 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 88/100
-
难度 1/5 1 小时以内 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 38/100
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 38/100
相似的 Issue
-
brick-3.0未关闭
难度 2/5 1-3 小时 新手友好度 68/100
commercialhaskell/stackage#8129 ·
-
难度 1/5 1 小时以内 新手友好度 76/100
severo/awesome-parquet#50 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
objectionary/phino#1444 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
enhancement triage
难度 2/5 1-3 小时 新手友好度 72/100
simplex-chat/simplex-chat#7585 ·
维护者通常 1 天内回复