From owner-cvs-all Wed Jun 26 10:13:18 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5373937B42F; Wed, 26 Jun 2002 10:09:28 -0700 (PDT) Received: from freefall.freebsd.org (jmallett@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5QH9SJU007741; Wed, 26 Jun 2002 10:09:28 -0700 (PDT) (envelope-from jmallett@freefall.freebsd.org) Received: (from jmallett@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5QH9SOU007740; Wed, 26 Jun 2002 10:09:28 -0700 (PDT) Message-Id: <200206261709.g5QH9SOU007740@freefall.freebsd.org> From: Juli Mallett Date: Wed, 26 Jun 2002 10:09:28 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ftp fetch.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2002/06/26 10:09:28 PDT Modified files: (Branch: RELENG_4) usr.bin/ftp fetch.c Log: On behalf of my mentor, MFC an improved[*] version of revision 1.19 of fetch.c, which supports HTTP/1.1 name-based virtual hosts when a proxy is not being used, and uses asprintf(3) to unlimit URL strings constructed when preparing to perform the request. PR: 30054 [*] - RELENG_4 doesn't have snprintf(3) checks like HEAD did, but I felt compelled to check for asprintf(3) failure where snprintf(3) was checked before revision 1.19. Additionally, I check now for http_buffer being set to NULL, which revision 1.19 failed to do. Revision Changes Path 1.12.2.4 +16 -7 src/usr.bin/ftp/fetch.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message