Message from discussion
What Plack webservers currently support the PSGI environment cleanup handlers proposal?
Received: by 10.66.85.71 with SMTP id f7mr1241073paz.39.1347032295619;
Fri, 07 Sep 2012 08:38:15 -0700 (PDT)
X-BeenThere: psgi-plack@googlegroups.com
Received: by 10.68.197.72 with SMTP id is8ls2148674pbc.5.gmail; Fri, 07 Sep
2012 08:38:15 -0700 (PDT)
Received: by 10.66.88.42 with SMTP id bd10mr1223117pab.18.1347032295025;
Fri, 07 Sep 2012 08:38:15 -0700 (PDT)
Received: by 10.66.88.42 with SMTP id bd10mr1223106pab.18.1347032294819;
Fri, 07 Sep 2012 08:38:14 -0700 (PDT)
Return-Path: <miyag...@gmail.com>
Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52])
by gmr-mx.google.com with ESMTPS id qq4si2526644pbb.1.2012.09.07.08.38.14
(version=TLSv1/SSLv3 cipher=OTHER);
Fri, 07 Sep 2012 08:38:14 -0700 (PDT)
Received-SPF: pass (google.com: domain of miyag...@gmail.com designates 209.85.160.52 as permitted sender) client-ip=209.85.160.52;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of miyag...@gmail.com designates 209.85.160.52 as permitted sender) smtp.mail=miyag...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-pb0-f52.google.com with SMTP id xa7so4978535pbc.39
for <psgi-plack@googlegroups.com>; Fri, 07 Sep 2012 08:38:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=from:mime-version:content-type:subject:date:in-reply-to:to
:references:message-id:x-mailer;
bh=FBPobfadH3yiHys1CJRCSE2+SUyTrZ9Sr/P3+MHvUYI=;
b=E1TOZxkQXEwi2jxpqWZXAMgPmDTbrCz2lRf6IFewKt6cggYwbiiIpVm1t9F1cTf67W
HlZfrQJpbaVXafWHS9s7t7T4xoHmrrZQmGNxOQjQWcDy4r9WHfVIXd13PczUTUKCLpip
Urv7xRb+F1KpPZQXveYr7+ZjK+2+Re6as9GeliNOLE9FZz0i4Nymx6a+IaiX594gNbev
ChhaAqX8qDWMdYCRDfOkF+SnlQbomACE4rd8M8LvMu6Y21dzE/LidEIFyasK0bV78p0F
ktYnED16x2GHvyJ0VvRf/6nc5LH/xGlcQSMbQLpyZuInbMTsrfVzjdTQXgPQNbC0CMI0
6dzA==
Received: by 10.66.85.166 with SMTP id i6mr8704598paz.45.1347032294578;
Fri, 07 Sep 2012 08:38:14 -0700 (PDT)
Return-Path: <miyag...@gmail.com>
Received: from [192.168.1.7] (70-36-146-215.dsl.dynamic.sonic.net. [70.36.146.215])
by mx.google.com with ESMTPS id iq3sm3320865pbc.5.2012.09.07.08.38.11
(version=TLSv1/SSLv3 cipher=OTHER);
Fri, 07 Sep 2012 08:38:13 -0700 (PDT)
From: Tatsuhiko Miyagawa <miyag...@gmail.com>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: multipart/alternative; boundary="Apple-Mail=_D685BBDE-D337-462A-8FF7-C7435FA4170B"
Subject: Re: What Plack webservers currently support the PSGI environment cleanup handlers proposal?
Date: Fri, 7 Sep 2012 08:38:05 -0700
In-Reply-To: <a10bee02-2cb6-4ff5-b522-25c08c177832@googlegroups.com>
To: psgi-plack@googlegroups.com
References: <a10bee02-2cb6-4ff5-b522-25c08c177832@googlegroups.com>
Message-Id: <F387CFEB-E6FF-4669-9E41-DE49778D9...@gmail.com>
X-Mailer: Apple Mail (2.1278)
--Apple-Mail=_D685BBDE-D337-462A-8FF7-C7435FA4170B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=iso-8859-1
On Sep 7, 2012, at 7:37 AM, =C6var Arnfj=F6r=F0 Bjarmason wrote:
> Has anyone implemented the PSGI cleanup handler proposal: =
https://github.com/plack/psgi-specs/wiki/Proposal:-PSGI-environment-cleanu=
p-handlers
None as I know: http://grep.cpan.me/?q=3Dpsgix.cleanup
>=20
> If not then which servers support the Plack::Middleware::Cleanup hack =
(https://metacpan.org/module/Plack::Middleware::Cleanup)? I've tried =
with uWSGI and it always executes that cleanup handler within the main =
request.
As the doc says it has some flaws, mainly that in most web servers the =
connection is not closed till the cleanup job is executed.=
--Apple-Mail=_D685BBDE-D337-462A-8FF7-C7435FA4170B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=iso-8859-1
<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div apple-content-edited=3D"true">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: =
rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: =
rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div>On Sep 7, 2012, at 7:37 =
AM, =C6var Arnfj=F6r=F0 Bjarmason =
wrote:</div></div></span></div></span></div></span></div></span></span></d=
iv></span></span></div><div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">Has anyone =
implemented the PSGI cleanup handler proposal: <a =
href=3D"https://github.com/plack/psgi-specs/wiki/Proposal:-PSGI-environmen=
t-cleanup-handlers">https://github.com/plack/psgi-specs/wiki/Proposal:-PSG=
I-environment-cleanup-handlers</a></blockquote><div><br></div><div>None =
as I know: <a =
href=3D"http://grep.cpan.me/?q=3Dpsgix.cleanup">http://grep.cpan.me/?q=3Dp=
sgix.cleanup</a></div><br><blockquote type=3D"cite"><div><br></div><div>If=
not then which servers support the Plack::Middleware::Cleanup hack (<a =
href=3D"https://metacpan.org/module/Plack::Middleware::Cleanup">https://me=
tacpan.org/module/Plack::Middleware::Cleanup</a>)? I've tried with uWSGI =
and it always executes that cleanup handler within the main =
request.</div></blockquote><div><br></div><div>As the doc says it has =
some flaws, mainly that in most web servers the connection is not closed =
till the cleanup job is executed.</div></div></body></html>=
--Apple-Mail=_D685BBDE-D337-462A-8FF7-C7435FA4170B--