Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 58369 invoked from network); 6 Sep 2005 04:09:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2005 04:09:47 -0000 Received: (qmail 45087 invoked by uid 500); 6 Sep 2005 04:09:45 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 44276 invoked by uid 500); 6 Sep 2005 04:09:43 -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: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 44263 invoked by uid 99); 6 Sep 2005 04:09:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 21:09:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [216.193.197.90] (HELO gs3.inmotionhosting.com) (216.193.197.90) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 21:09:55 -0700 Received: from c66-235-49-126.sea2.cablespeed.com ([66.235.49.126]:54323 helo=[192.168.1.100]) by gs3.inmotionhosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.44) id 1ECUmK-0005XX-4V for dev@httpd.apache.org; Mon, 05 Sep 2005 21:09:48 -0700 Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: References: <685799F4-951E-4C65-9B10-E1E2E0E33226@apache.org> <431C3851.1090401@holsman.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2F528DD0-C011-4894-9DA6-017449E52017@apache.org> Content-Transfer-Encoding: 7bit From: Brian Pane Subject: Re: Proposed connection state diagram Date: Mon, 5 Sep 2005 21:10:31 -0700 To: dev@httpd.apache.org X-Mailer: Apple Mail (2.734) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gs3.inmotionhosting.com X-AntiAbuse: Original Domain - httpd.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - apache.org X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Sep 5, 2005, at 1:40 PM, Brian Pane wrote: > > On Sep 5, 2005, at 5:21 AM, Ian Holsman wrote: > > >> are you missing the case where the client disconnects mid-request >> (CONN_STATE_READ_REQUEST_LINE -> Connection_deleted) >> >> and when the client disconnects mid-response? >> CONN_STATE_HANDLER/CONN_STATE_WRITE_COMPLETION -> Connection_deleted) >> >> case where the client connects/disconnects (TCP-port check) >> > > Thanks, those all definitely need to be in the state model. I'll > update the diagram later today. Updated. For all of those error cases, I made the state transitions go into CONN_STATE_LINGER, for consistency with the way the event MPM currently works (if I read the code correctly). http://www.brianp.net/work/opensource/apache/async.html Brian