From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 21 02:10:28 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA1EF16A4D0 for ; Thu, 21 Apr 2005 02:10:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A84943D54 for ; Thu, 21 Apr 2005 02:10:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3L2ASMf076991 for ; Thu, 21 Apr 2005 02:10:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3L2ASCk076990; Thu, 21 Apr 2005 02:10:28 GMT (envelope-from gnats) Resent-Date: Thu, 21 Apr 2005 02:10:28 GMT Resent-Message-Id: <200504210210.j3L2ASCk076990@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, michael johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7EF816A4CE for ; Thu, 21 Apr 2005 02:01:17 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98DE643D41 for ; Thu, 21 Apr 2005 02:01:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3L21H7Z007319 for ; Thu, 21 Apr 2005 02:01:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3L21HTg007318; Thu, 21 Apr 2005 02:01:17 GMT (envelope-from nobody) Message-Id: <200504210201.j3L21HTg007318@www.freebsd.org> Date: Thu, 21 Apr 2005 02:01:17 GMT From: michael johnson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: bin/80176: fetch does not always work with https with a proxy. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2005 02:10:29 -0000 >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: