Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 54932 invoked by uid 500); 22 Jun 2003 19:44:34 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 54919 invoked from network); 22 Jun 2003 19:44:34 -0000 Subject: Re: Little question on apache internals From: Brian Pane To: dev@httpd.apache.org In-Reply-To: <20030618232219.271bfa39.sabt@sabt.net> References: <20030618232219.271bfa39.sabt@sabt.net> Content-Type: text/plain Organization: Message-Id: <1056311273.17217.2.camel@desktop> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 22 Jun 2003 12:47:53 -0700 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 2003-06-18 at 14:22, Sebastian Abt wrote: > Hi all, > > I'm currently writing an Apache module (Apache 1.3.27) for virtual > masshosting based on a SQL backend (currently MySQL later on > PostgreSQL). Therefore I'm searching for information about the > differences between requests (request_rec) and servers (server_rec). > > Can anybody tell me the lifetime of a request or a server record? > As far as I understand the used terminology, a request record handles > all requests made by a user when navigating to a specific URL. A request_rec lasts for the lifetime of a single HTTP request. So if navigating to a URL involves retrieving an HTML page and four images, there will be five different request_recs--even if a single keepalive connection is used. Brian