NetBSD-Bugs archive

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

Re: bin/57003: ftp can't handle HTTP redirections?



The following reply was made to PR bin/57003; it has been noted by GNATS.

From: Kimmo Suominen <kim%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
	yeti%digitalfoto-model-award.de@localhost
Subject: Re: bin/57003: ftp can't handle HTTP redirections?
Date: Sun, 11 Sep 2022 10:03:40 +0300

 Hi Martin,
 
 Please include the version of curl and how you invoked it. It works for me (TM):
 
 : beowulf:/tmp/kim; curl -LIvs
 https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/i386/binary/sets/base.tgz
 > /dev/null
 *   Trying 2a04:4e42:3a::262:443...
 * Connected to nycdn.netbsd.org (2a04:4e42:3a::262) port 443 (#0)
 * ALPN, offering h2
 * ALPN, offering http/1.1
 * successfully set certificate verify locations:
 *  CAfile: /etc/ssl/certs/ca-certificates.crt
 *  CApath: /etc/ssl/certs
 } [5 bytes data]
 * TLSv1.3 (OUT), TLS handshake, Client hello (1):
 } [512 bytes data]
 * TLSv1.3 (IN), TLS handshake, Server hello (2):
 { [112 bytes data]
 * TLSv1.2 (IN), TLS handshake, Certificate (11):
 { [2843 bytes data]
 * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
 { [300 bytes data]
 * TLSv1.2 (IN), TLS handshake, Server finished (14):
 { [4 bytes data]
 * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
 } [37 bytes data]
 * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
 } [1 bytes data]
 * TLSv1.2 (OUT), TLS handshake, Finished (20):
 } [16 bytes data]
 * TLSv1.2 (IN), TLS handshake, Finished (20):
 { [16 bytes data]
 * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
 * ALPN, server accepted to use http/1.1
 * Server certificate:
 *  subject: CN=*.netbsd.org
 *  start date: Aug  7 15:07:30 2022 GMT
 *  expire date: Sep  8 15:07:29 2023 GMT
 *  subjectAltName: host "nycdn.netbsd.org" matched cert's "*.netbsd.org"
 *  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA 2022 Q3
 *  SSL certificate verify ok.
 } [5 bytes data]
 > HEAD /pub/NetBSD-daily/HEAD/latest/i386/binary/sets/base.tgz HTTP/1.1
 > Host: nycdn.netbsd.org
 > User-Agent: curl/7.74.0
 > Accept: */*
 >
 { [5 bytes data]
 * Mark bundle as not supporting multiuse
 < HTTP/1.1 302 Moved Temporarily
 < Connection: keep-alive
 < Content-Length: 197
 < Location: /pub/NetBSD-daily/HEAD/202209101100Z/i386/binary/sets/base.tgz
 < Content-Type: text/html
 < Via: 1.1 varnish, 1.1 varnish
 < Accept-Ranges: bytes
 < Date: Sun, 11 Sep 2022 07:01:50 GMT
 < Age: 510
 < X-Served-By: cache-lga21964-LGA, cache-hel1410032-HEL
 < X-Cache: MISS, HIT
 < X-Cache-Hits: 0, 1
 < X-Timer: S1662879710.215950,VS0,VE0
 <
 * Connection #0 to host nycdn.netbsd.org left intact
 * Issue another request to this URL:
 'https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202209101100Z/i386/binary/sets/base.tgz'
 * Found bundle for host nycdn.netbsd.org: 0x55f3ebc217d0 [serially]
 * Can not multiplex, even if we wanted to!
 * Re-using existing connection! (#0) with host nycdn.netbsd.org
 * Connected to nycdn.netbsd.org (2a04:4e42:3a::262) port 443 (#0)
 } [5 bytes data]
 > HEAD /pub/NetBSD-daily/HEAD/202209101100Z/i386/binary/sets/base.tgz HTTP/1.1
 > Host: nycdn.netbsd.org
 > User-Agent: curl/7.74.0
 > Accept: */*
 >
 { [5 bytes data]
 * Mark bundle as not supporting multiuse
 < HTTP/1.1 200 OK
 < Connection: keep-alive
 < Content-Length: 63777881
 < Server: bozohttpd/20210227
 < Last-Modified: Sat, 10 Sep 2022 18:22:46 GMT
 < Content-Type: application/x-gtar-compressed
 < Via: 1.1 varnish, 1.1 varnish
 < Accept-Ranges: bytes
 < Date: Sun, 11 Sep 2022 07:01:50 GMT
 < Age: 483
 < X-Served-By: cache-lga21940-LGA, cache-hel1410032-HEL
 < X-Cache: HIT, HIT
 < X-Cache-Hits: 1, 1
 < X-Timer: S1662879710.231237,VS0,VE0
 <
 * Connection #0 to host nycdn.netbsd.org left intact
 
 Kind regards,
 + Kimmo
 


Home | Main Index | Thread Index | Old Index