From owner-cvs-all Wed Jun 5 3: 5:11 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 0A13237B405; Wed, 5 Jun 2002 03:05:05 -0700 (PDT) Received: (from des@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g55A54u26920; Wed, 5 Jun 2002 03:05:04 -0700 (PDT) (envelope-from des) Message-Id: <200206051005.g55A54u26920@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Wed, 5 Jun 2002 03:05:04 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libfetch common.c common.h ftp.c http.c X-FreeBSD-CVS-Branch: HEAD 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 des 2002/06/05 03:05:04 PDT Modified files: lib/libfetch common.c common.h ftp.c http.c Log: First step towards SSL support: wrap connections in a 'struct connection' which contains the socket descriptor, the input buffer and (yet unused) SSL state variables. This has the neat side effect of greatly improving reentrance (though we're not *quite* there yet) and opening the door to HTTP connection caching. This commit is inspired by email conversations with and patches from Henry Whincup last fall. Revision Changes Path 1.26 +56 -24 src/lib/libfetch/common.c 1.20 +26 -3 src/lib/libfetch/common.h 1.77 +89 -92 src/lib/libfetch/ftp.c 1.53 +84 -77 src/lib/libfetch/http.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message