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 D7415200CCC for ; Thu, 6 Jul 2017 20:07:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D5BE2167106; Thu, 6 Jul 2017 18:07:50 +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 30A61167105 for ; Thu, 6 Jul 2017 20:07:50 +0200 (CEST) Received: (qmail 60156 invoked by uid 500); 6 Jul 2017 18:07:49 -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 60146 invoked by uid 99); 6 Jul 2017 18:07:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2017 18:07:49 +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 CCE441865E2 for ; Thu, 6 Jul 2017 18:07:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.103 X-Spam-Level: X-Spam-Status: No, score=-0.103 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=evermeet.cx Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 80Uk5MLhBFzr for ; Thu, 6 Jul 2017 18:07:47 +0000 (UTC) Received: from atvie01s.evermeet.cx (evermeet.cx [77.244.245.66]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 53BFA5FB7A for ; Thu, 6 Jul 2017 18:07:47 +0000 (UTC) Received: from [10.0.0.42] (23-233-10-186.cpe.pppoe.ca [23.233.10.186]) (authenticated bits=0) by atvie01s.evermeet.cx (8.15.2/8.15.2) with ESMTPSA id v66I7iNl002228 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 6 Jul 2017 20:07:45 +0200 DKIM-Filter: OpenDKIM Filter v2.10.3 atvie01s.evermeet.cx v66I7iNl002228 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evermeet.cx; s=default; t=1499364465; bh=8hBoqQVXPQOCJnLvtKKI1ec9NoT0gDJ8Q/QGMed2a68=; h=To:From:Subject:Date:From; b=IF0X6mbfOS/53Gbykpwc/piQ0nyQcYuYHfF33H3YNeK0uoFpe6fl7lpQTiXQeDoIZ MX8A2UpEqVF3qIrpsREwi+jQn1IzSMY6L9o3fzqUVsGk8zxvH7xV+ubIXDcQIKFKl/ u8iDKbxtLmSa94SMM6yR/oeXA5rYENJ5Ce3cgXbo= To: httpd-dev From: "Helmut K. C. Tessarek" Subject: mod_proxy_fcgi and flush Message-ID: Date: Thu, 6 Jul 2017 14:08:14 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit archived-at: Thu, 06 Jul 2017 18:07:51 -0000 One of the comments on the documentation page of mod_proxy_fcgi (http://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html) mentions an issue with flush: There is just no flush support it seems. I attempt to use PHP flush() and it won't work until you fill up a buffer first, rendering Server Sent Events impossible with proxy_fcgi. It worked very well with "-flush" with mod_fastcgi FastCgiExternalServer. If this is really the case, all web applications that use push notifications won't be working with mod_proxy_fcgi. The wiki page on https://wiki.apache.org/httpd/php also suggests to use mod_proxy_fcgi, but if above is true, this might lead to problems. What is your take on this? -- regards Helmut K. C. Tessarek lookup https://sks-keyservers.net/i for KeyID 0xC11F128D /* Thou shalt not follow the NULL pointer for chaos and madness await thee at its end. */