Bug 17540 – std.net.curl: HTTP no possibillity to set CURLOPT_NOPROXY

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2017-06-21T16:18:46Z
Last change time
2018-01-05T13:29:55Z
Assigned to
No Owner
Creator
Andre

Comments

Comment #0 by andre — 2017-06-21T16:18:46Z
HTTP does not provide any possibility to set the NO_PROXY value (CURLOPT_NOPROXY). Please add a method to set the NO PROXY value.
Comment #1 by dlang-bugzilla — 2017-06-21T17:29:07Z
You can set arbitrary Curl settings that are not covered by the D wrapper by accessing the .handle property, e.g. "http.handle.set(CurlOption.noproxy, "www.example.com")". I don't think the HTTP wrapper type strives to provide an interface to all the Curl options in the CurlOption enum.
Comment #2 by github-bugzilla — 2017-07-06T18:49:51Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/e40a35675a89ec9346ba90cf973a423ff8e5d973 Fix Issue 17540 - std.net.curl: HTTP no possibillity to set CURLOPT_NOPROXY https://github.com/dlang/phobos/commit/1a5ae4aee5a0c4c509ea55dd88e1a26941f932d3 Merge pull request #5538 from RazvanN7/Issue17540 [Trivial] Fix Issue 17540 - setting CurlOption.noproxy is cumbersome merged-on-behalf-of: Sebastian Wilzbach <[email protected]>
Comment #3 by github-bugzilla — 2017-08-16T13:23:32Z
Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/e40a35675a89ec9346ba90cf973a423ff8e5d973 Fix Issue 17540 - std.net.curl: HTTP no possibillity to set CURLOPT_NOPROXY https://github.com/dlang/phobos/commit/1a5ae4aee5a0c4c509ea55dd88e1a26941f932d3 Merge pull request #5538 from RazvanN7/Issue17540
Comment #4 by github-bugzilla — 2018-01-05T13:29:55Z
Commits pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/e40a35675a89ec9346ba90cf973a423ff8e5d973 Fix Issue 17540 - std.net.curl: HTTP no possibillity to set CURLOPT_NOPROXY https://github.com/dlang/phobos/commit/1a5ae4aee5a0c4c509ea55dd88e1a26941f932d3 Merge pull request #5538 from RazvanN7/Issue17540