Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 64921 invoked from network); 24 Feb 2004 23:05:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Feb 2004 23:05:35 -0000 Received: (qmail 16109 invoked by uid 500); 24 Feb 2004 23:05:15 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 16080 invoked by uid 500); 24 Feb 2004 23:05:15 -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 16067 invoked from network); 24 Feb 2004 23:05:15 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by daedalus.apache.org with SMTP; 24 Feb 2004 23:05:15 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i1ON5Lb14272 for ; Tue, 24 Feb 2004 18:05:21 -0500 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i1ON5Li15010 for ; Tue, 24 Feb 2004 18:05:21 -0500 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id i1ON5KUr017040 for ; Tue, 24 Feb 2004 23:05:20 GMT Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id i1ON5JpN017039 for dev@httpd.apache.org; Tue, 24 Feb 2004 23:05:19 GMT Date: Tue, 24 Feb 2004 23:05:19 +0000 From: Joe Orton To: dev@httpd.apache.org Subject: Re: [PATCH] SSL not sending close alert message Message-ID: <20040224230519.GA16978@redhat.com> Mail-Followup-To: dev@httpd.apache.org References: <16A24B6050584143978000646801E93557BEED@cacexc03.americas.cpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16A24B6050584143978000646801E93557BEED@cacexc03.americas.cpqcorp.net> User-Agent: Mutt/1.4.1i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, Feb 24, 2004 at 09:59:00AM -0800, Mathihalli, Madhusudan wrote: > >-----Original Message----- > >From: Joe Orton [mailto:jorton@redhat.com] > [SNIP] > > > >This is just back to what we had patches for already: doing an SSL > >shutdown on any EOF bucket, right? Which is not right since you get an > >EOS after each HTTP response, not at the end of the connection. > > > >Hence the need for a new bucket type to represent end-of-connection > >differently from EOS. > > > >(the test case for that is to see if you can send two requests on a > >single SSL connection) > > Okay - since I've not played much with buckets, here's my first > attempt at getting something to work - please let me know if it's > okay. I wasn't sure whether or not this EOC bucket type should go in APR-util or httpd. Filtering gurus, what say ye? That bit looks OK to me otherwise with a licence header added to the new file. mod_ssl-side I'd just use the changes in the most recent patch I posted with the CLOSE bucket test replaced with the EOC bucket test in the output filter: in my testing you needed to turn off buffering in bio_filter_out_write to get the shutdown logic working correctly. Thanks Madhu! joe