[Bug 1908136] [NEW] no_proxy=::1 is not honored in Bionic and earlier versions

Balint Reczey 1908136 at bugs.launchpad.net
Mon Dec 14 21:23:48 UTC 2020


Public bug reported:

Bionic:

env no_proxy=::1 http_proxy=http://foo:8080 curl -v http://[::1]:80/bar.html
* Could not resolve proxy: foo
* Closing connection 0
curl: (5) Could not resolve proxy: foo

Focal:

$ env no_proxy=::1 http_proxy=http://foo:8080 curl -v http://[::1]:80/bar.html
* Uses proxy env variable no_proxy == '::1'
*   Trying ::1:80...
* TCP_NODELAY set
* Immediate connect fail for ::1: Network is unreachable
* Closing connection 0
curl: (7) Couldn't connect to server

** Affects: auto-package-testing
     Importance: Undecided
         Status: New

** Affects: curl (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: curl (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: curl (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: curl (Ubuntu Focal)
     Importance: Undecided
         Status: Fix Released

** Also affects: curl (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: curl (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: curl (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: curl (Ubuntu Focal)
       Status: New => Fix Released

** Changed in: curl (Ubuntu)
       Status: New => Fix Released

** Bug watch added: github.com/curl/curl/issues #2353
   https://github.com/curl/curl/issues/2353

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/1908136

Title:
  no_proxy=::1 is not honored in Bionic and earlier versions

Status in Auto Package Testing:
  New
Status in curl package in Ubuntu:
  Fix Released
Status in curl source package in Xenial:
  New
Status in curl source package in Bionic:
  New
Status in curl source package in Focal:
  Fix Released

Bug description:
  Bionic:

  env no_proxy=::1 http_proxy=http://foo:8080 curl -v http://[::1]:80/bar.html
  * Could not resolve proxy: foo
  * Closing connection 0
  curl: (5) Could not resolve proxy: foo

  Focal:

  $ env no_proxy=::1 http_proxy=http://foo:8080 curl -v http://[::1]:80/bar.html
  * Uses proxy env variable no_proxy == '::1'
  *   Trying ::1:80...
  * TCP_NODELAY set
  * Immediate connect fail for ::1: Network is unreachable
  * Closing connection 0
  curl: (7) Couldn't connect to server

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/1908136/+subscriptions



More information about the foundations-bugs mailing list