Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1BEF11888B for ; Wed, 27 Jan 2016 08:15:04 +0000 (UTC) Received: (qmail 63300 invoked by uid 500); 27 Jan 2016 08:15:03 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63231 invoked by uid 500); 27 Jan 2016 08:15:03 -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 63221 invoked by uid 99); 27 Jan 2016 08:15:03 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2016 08:15:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 172C51804FD for ; Wed, 27 Jan 2016 08:15:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 2bqdY6EuTwO7 for ; Wed, 27 Jan 2016 08:15:02 +0000 (UTC) Received: from mail-qg0-f53.google.com (mail-qg0-f53.google.com [209.85.192.53]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E40BC31ACC for ; Wed, 27 Jan 2016 08:15:01 +0000 (UTC) Received: by mail-qg0-f53.google.com with SMTP id o11so851408qge.2 for ; Wed, 27 Jan 2016 00:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=536/6rgmBY2y0xw77pLQt22JRGw67kdT1pZkgKKoQdQ=; b=kqG8HQ1Gami3XJO8ZJg7eKRTJSOswZ/fyQ97B67MX2a4keq1PTwz0fAblM6EZ8HFDA A3P+5sbG7o1pBrETIOvy5IasG754hU2dmfE9CW4ikqMTojZkjP6FTjQILFJadx03+aAW ywuywJ66g42KCaVexX1ez21hLGMxQIa630TGpUWzt2sISe+w18CNajpQSjK1QCCgqzpW zcQfzEpOZ6er7+KSnhW3dZ6VDUCkbEbBk9K9jNAbteWS90hFF0CHc1S3m3SpSVVmi3UK MU/h2A+LUx3VrtUrM8BD7a439EKz+vcJau4TBtHOQANtRHQcFtgYaobxGO9tC+NGl5PT NB/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=536/6rgmBY2y0xw77pLQt22JRGw67kdT1pZkgKKoQdQ=; b=Gni5JlG7xgpx0ws7V2683/SVrJBwP0UoYZhq3HMg2qeRQvxAQI40LY2OWDVWk6h+LC EmMcYYDHV3a4+Dsg6XQPUxYzXQI2FSy7879/ErPYMmqH39A2z7+rEYVluULdNPhXU5oU xOFeIVRXuICIEZitN8iPBcpXykJwcL6OdMIWFu/0vryqfunjdzw8Bn5EGkYELyVLfdJM +1VovdGTYRePrfzH2AB6rKJj646FlaR481KxtjQ0w9Gh/BAIckagtbWHyTMehn8wZQ+a kF9+3+I3imtS36sONWVDJr5LFaVCLBP23RJ65KCz7h48FEJO8ETMusUJE1Q+KYNkCHPv +QEA== X-Gm-Message-State: AG10YOSmry06Kyt6Hk1W6ZYA4fnS884LlGpZ7fNjQd+18RkjCZs7JV8+0ChHNcZZiTkjHoMmN3WJsDsCGTJVqg== MIME-Version: 1.0 X-Received: by 10.140.222.146 with SMTP id s140mr34583135qhb.24.1453882495185; Wed, 27 Jan 2016 00:14:55 -0800 (PST) Received: by 10.55.65.85 with HTTP; Wed, 27 Jan 2016 00:14:55 -0800 (PST) In-Reply-To: <20160126125718.90E3E3A00E7@svn01-us-west.apache.org> References: <20160126125718.90E3E3A00E7@svn01-us-west.apache.org> Date: Wed, 27 Jan 2016 09:14:55 +0100 Message-ID: Subject: Re: svn commit: r1726787 - /httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c From: Yann Ylavic To: httpd-dev Content-Type: text/plain; charset=UTF-8 On Tue, Jan 26, 2016 at 1:57 PM, wrote: > Author: rpluem > Date: Tue Jan 26 12:57:18 2016 > New Revision: 1726787 > > URL: http://svn.apache.org/viewvc?rev=1726787&view=rev > Log: > * Transform the buckets to the correct lifetime of the brigade, connection and filter stack that processes it. I'm not sure the buckets can be destroyed while in flight in mod_proxy_wstunnel, unlike with mod_proxy_http where the backend connection/request may be cleared before all data are out. ISTM that this can't happen here because we flush out on every write (btw that could be optimized to flush outside the loop). So provided we clear the working brigade before leaving, isn't that enough already? Regards, Yann.