From owner-cvs-all Fri Jul 21 4: 2:49 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4714C37B8E2; Fri, 21 Jul 2000 04:02:46 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA66412; Fri, 21 Jul 2000 04:02:46 -0700 (PDT) (envelope-from des@FreeBSD.org) Message-Id: <200007211102.EAA66412@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Fri, 21 Jul 2000 04:02:46 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libfetch http.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG des 2000/07/21 04:02:45 PDT Modified files: lib/libfetch http.c Log: Ignore environment variables that are set but empty. Sort out the size / length confusion. Always try to report the *real* file size in the url_stat structure, no matter how much of it is actually being sent, and try to detect inconsistencies between sizes. Rearrange the request loop to avoid having to add meaningless code just to silence compiler warnings. Switch to a more sensible and consistent interface for the _http_parse*() functions. Revision Changes Path 1.33 +82 -41 src/lib/libfetch/http.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message