Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9AF2A200CC4 for ; Thu, 13 Jul 2017 21:40:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9946116CBE9; Thu, 13 Jul 2017 19:40:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 136EC16CBE5 for ; Thu, 13 Jul 2017 21:40:02 +0200 (CEST) Received: (qmail 1235 invoked by uid 500); 13 Jul 2017 19:40:02 -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 1226 invoked by uid 99); 13 Jul 2017 19:40:02 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2017 19:40:02 +0000 Received: from gauss.localdomain (unknown [86.111.157.220]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id BFDC01A0029 for ; Thu, 13 Jul 2017 19:40:00 +0000 (UTC) Received: from [IPv6:::1] (localhost [IPv6:::1]) by gauss.localdomain (Postfix) with ESMTP id EB6C5148 for ; Thu, 13 Jul 2017 21:39:56 +0200 (CEST) Subject: Re: mod_proxy_fcgi and flush To: dev@httpd.apache.org References: <054C2355-5C8C-4C23-875C-38DCC9BCA7B7@jaguNET.com> <523f1174-b9f0-19b6-d3d5-484bb38ecc41@gmail.com> From: Ruediger Pluem Message-ID: <46caa68b-cf75-855e-dc39-56ffeba0b8ea@apache.org> Date: Thu, 13 Jul 2017 21:39:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit archived-at: Thu, 13 Jul 2017 19:40:03 -0000 On 07/13/2017 07:36 PM, Luca Toscano wrote: > I didn't find a real use case for flushpackets=auto in mod_proxy_fcgi, but I have two proposals for fluspackets=on: > > http://home.apache.org/~elukey/httpd-2.4.x-mod_proxy_fcgi-force_flush.patch > http://home.apache.org/~elukey/httpd-2.4.x-mod_proxy_fcgi-force_flush-v2.patch > > The second one is a bit more conservative and does not insert the FLUSH bucket if it knows that the content len (clen) > is bigger than the iobuf_size (since there is a goto that forces another get_data() in this case). I only looked at it very briefly, but from that I would favor v2 of the patch. Regards RĂ¼diger