bin/80176: fetch does not always work with https with a proxy.
michael johnson
ahze at FreeBSD.org
Wed Apr 20 19:10:29 PDT 2005
>Number: 80176
>Category: bin
>Synopsis: fetch does not always work with https with a proxy.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 21 02:10:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: michael johnson
>Release:
>Organization:
>Environment:
Can reproduce on 4.x, 5.x and 6.x
>Description:
When fetch is used with a HTTP_PROXY=XXX FTP_PROXY=XXX it does not always work as it should, And wget always works.
But this is only true for only a few sites, most noteably https://helixcommunity.org
This is what I get from a distfile from https://helixcommunity.org
# fetch https://helixcommunity.org/download.php/1145/RealPlayer-10.0.4.750-20050401.i586.rpm
RealPlayer-10.0.4.750-20050401.i586.rpm 0 B 0 Bps
# du -sh RealPlayer-10.0.4.750-20050401.i586.rpm
0B RealPlayer-10.0.4.750-20050401.i586.rpm
# rm RealPlayer-10.0.4.750-20050401.i586.rpm
# wget https://helixcommunity.org/download.php/1145/RealPlayer-10.0.4.750-20050401.i586.rpm--21:51:50-- https://helixcommunity.org/download.php/1145/RealPlayer-10.0.4.750-20050401.i586.rpm
=> `RealPlayer-10.0.4.750-20050401.i586.rpm'
Resolving helixcommunity.org... done.
Connecting to helixcommunity.org[207.188.25.135]:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6,642,470 [application/binary]
100%[================================================>] 6,642,470 458.47K/s ETA 00:00
21:52:09 (458.47 KB/s) - `RealPlayer-10.0.4.750-20050401.i586.rpm' saved [6642470/6642470]
# du -sh RealPlayer-10.0.4.750-20050401.i586.rpm
6.4M RealPlayer-10.0.4.750-20050401.i586.rpm
# unset HTTP_PROXY
# rm RealPlayer-10.0.4.750-20050401.i586.rpm
# fetch https://helixcommunity.org/download.php/1145/RealPlayer-10.0.4.750-20050401.i586.rpmRealPlayer-10.0.4.750-20050401.i586.rpm 100% of 6486 kB 454 kBps 00m00s
This is not always true, sites such as https://gna.org and others work great.
>How-To-Repeat:
Try to 'fetch' something with HTTP_PROXY set with squid or similar from
https://helixcommunity.org
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list