Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F6C817CD5 for ; Wed, 4 Mar 2015 17:29:21 +0000 (UTC) Received: (qmail 70450 invoked by uid 500); 4 Mar 2015 17:29:14 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 70359 invoked by uid 500); 4 Mar 2015 17:29:14 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 70313 invoked by uid 99); 4 Mar 2015 17:29:14 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2015 17:29:14 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 3B7C9AC0044 for ; Wed, 4 Mar 2015 17:29:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn propchange: r1664071 - svn:log Date: Wed, 04 Mar 2015 17:29:13 -0000 To: cvs@httpd.apache.org From: ylavic@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150304172914.3B7C9AC0044@hades.apache.org> Author: ylavic Revision: 1664071 Modified property: svn:log Modified: svn:log at Wed Mar 4 17:29:13 2015 ------------------------------------------------------------------------------ --- svn:log (original) +++ svn:log Wed Mar 4 17:29:13 2015 @@ -12,5 +12,14 @@ so that maintenance can be done on all t that insertions/maintenance remain in O(1). A server config is created and pointing to the queue of each vhost at post_config time, hence the config can be associated to the connection -state (cs) at post_read_request time, and we can simply insert with -TO_QUEUE_INSERT(cs->sc->q, cs). PR56226. +state (cs) at post_read_request time (keep_alive_timeout_set is used to +determine r->server vs c->base_server here), and we can simply insert +with TO_QUEUE_INSERT(cs->sc->q, cs). PR56226. + +While at it, since each queue now embeds it own timeout and hence the +expiration_time of the cs has changed to a queue_timestamp (the time it +was queued), we can detect clock skews and expire entries immediatly if +the system is set (eg. far) in the past during runtime and we want to +avoid waiting for (eg.) centuries before the current logic kills them. +Any entry which is registered above now + q->timeout is concerned, and +is now cleaned from the queue when encountered. PR57374.