Re: mod_perl, mod_gzip and connection->fileno

[prev] [thread] [next] [Date index for 2005/02/24]

From: Geoffrey Young
Subject: Re: mod_perl, mod_gzip and connection->fileno
Date: 20:13 on 24 Feb 2005

> In my PerlResponseHandler I check the routine above,
> and return Apache::DONE if the user has disconnected,
> which saves me the trouble of generating dynamic
> content for no reason.  I'm just not sure if this is
> the right way to do it; for example I wondered if
> you need to notify Apache in some way of the
> disconnection, and what sort of HTTP status code
> should be set.

apache knows before you do if there was a disconnect - it changes all writes
to noops, for instance.  at least it did in 1.3 and I'm sure 2.0 follows suit.

--Geoff

(message missing)

mod_perl, mod_gzip and connection->fileno
Marcel Greter 22:11 on 18 Feb 2005

Re: mod_perl, mod_gzip and connection->fileno
Stas Bekman 00:58 on 19 Feb 2005

Re: mod_perl, mod_gzip and connection->fileno
Marcel Greter 04:14 on 19 Feb 2005

Re: mod_perl, mod_gzip and connection->fileno
Stas Bekman 04:18 on 19 Feb 2005

Re: mod_perl, mod_gzip and connection->fileno
Marcel Greter 04:41 on 19 Feb 2005

Re: mod_perl, mod_gzip and connection->fileno
Stas Bekman 05:12 on 19 Feb 2005

Re: mod_perl, mod_gzip and connection->fileno
Geoffrey Young 20:13 on 24 Feb 2005

Re: mod_perl, mod_gzip and connection->fileno
Geoffrey Young 14:43 on 24 Feb 2005

Generated at 22:43 on 24 Feb 2005 by mariachi v0.52