From owner-freebsd-bugs Sun Jun 23 19:50:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E573F37B403 for ; Sun, 23 Jun 2002 19:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5O2o1s82618; Sun, 23 Jun 2002 19:50:01 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 6C6D837B400 for ; Sun, 23 Jun 2002 19:40:44 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5O2eihG045907 for ; Sun, 23 Jun 2002 19:40:44 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g5O2ei3Z045906; Sun, 23 Jun 2002 19:40:44 -0700 (PDT) Message-Id: <200206240240.g5O2ei3Z045906@www.freebsd.org> Date: Sun, 23 Jun 2002 19:40:44 -0700 (PDT) From: WATANABE Yuichi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/39754: sysinstall HTTP_proxy bug Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39754 >Category: misc >Synopsis: sysinstall HTTP_proxy bug >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 23 19:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: WATANABE Yuichi >Release: FreeBSD 4.6R >Organization: ASCII Corp. >Environment: FreeBSD oapc13.oa.ascii.co.jp 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Wed Jun 19 14:35:17 JST 2002 root@oapc13.oa.ascii.co.jp:/usr/src/sys/compile/PRTSVR00 i386 >Description: /stand/sysinstall core dump when specified HTTP-proxy in order to install packages. this problem appeaed at FreeBSD 4.5R, 4.6R. there is no problem before FreeBSD 4.4R. >How-To-Repeat: See http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/34684 >Fix: 1) modify /usr/src/release/sysinstall/http.c HEAD --> GET 2) make 3) make install -------------------------------------- *** http.org Mon Jun 24 11:28:41 2002 --- http.c Mon Jun 24 11:25:02 2002 *************** *** 219,225 **** --- 219,228 ---- return NULL; } + /* sprintf(req,"HEAD %s/%s%s HTTP/1.0\r\n\r\n", + */ + sprintf(req,"GET %s/%s%s HTTP/1.0\r\n\r\n", variable_get(VAR_HTTP_PATH), file, variable_get(VAR_HTTP_FTP_MODE)); if (isDebug()) { --------------------------------------------- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message