[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: approx in debian 12



On Fri, Nov 17, 2023 at 07:25:23AM +0000, Russell L. Harris wrote:
> On Fri, Nov 17, 2023 at 09:56:07AM +0300, Reco wrote:
> > OK. And what happens if you execute this on a approx server:
> > 
> > curl -x http://localhost:9999 -v http://ftp.debian.org/debian/dists/stable/Release >/dev/null
> 
> root@mollydew:/etc/approx# curl -x http://localhost:9999 -v http://ftp.debian.org/debian/dists/stable/Release >/dev/null
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 127.0.0.1:9999...
> * Connected to localhost (127.0.0.1) port 9999 (#0)
> > GET http://ftp.debian.org/debian/dists/stable/Release HTTP/1.1
> > Host: ftp.debian.org
> > User-Agent: curl/7.88.1
> > Accept: */*
> > Proxy-Connection: Keep-Alive
> > 
> < HTTP/1.1 200 OK

Looks good. What about this one:

apt update -o Acquire::http::Proxy=http://localhost:9999

Reco


Reply to: