Date: Thu, 21 Apr 2005 02:01:17 GMT From: michael johnson <ahze@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/80176: fetch does not always work with https with a proxy. Message-ID: <200504210201.j3L21HTg007318@www.freebsd.org> Resent-Message-ID: <200504210210.j3L2ASCk076990@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504210201.j3L21HTg007318>