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
< Content-Type: text/plain
< Last-Modified: Sat, 07 Oct 2023 09:30:02 GMT
< Content-Length: 149228
< Date: Fri, 17 Nov 2023 07:21:42 GMT
< Server: approx/5.12 Ocamlnet/
< { [4096 bytes data]
100  145k  100  145k    0     0   193k      0 --:--:-- --:--:-- --:--:--  193k
* Connection #0 to host localhost left intact
root@mollydew:/etc/approx#

Reply via email to