[Bug 294685] ports-mgmt/pkg: regession, pkg 2.7 does not honour http_proxy from pkg.conf any more

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Apr 2026 14:45:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294685

--- Comment #2 from rz-rpi03@h-ka.de ---
(In reply to Baptiste Daroussin from comment #1)
> is your proxy over https or over http ?

The proxy is over https, so the config line is
  http_proxy: "https://proxy.h-ka.de:8888/",

> I can see libfetch wants the proxy to respect the same scheme as the target, which is the only difference I can see with previous version.

A quick view into "man 3 fetch" shows no sign of a https_proxy environment
variable. Only http_proxy/HTTP_PROXY is mentioned.
Regardless of that I tried
  https_proxy: "https://proxy...",
without success of course.

Changing to http://proxy gives the expected protocol error messages when trying
to speak plain http to a https port.

-- 
You are receiving this mail because:
You are the assignee for the bug.