Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 19:40:44 -0700 (PDT)
From:      WATANABE Yuichi <yuu-w@ascii.co.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/39754: sysinstall HTTP_proxy bug
Message-ID:  <200206240240.g5O2ei3Z045906@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206240240.g5O2ei3Z045906>