You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@hyperreal.com> on 1997/01/18 03:38:29 UTC

one more question about nph- (fwd)

Does anyone remember the right answer to this?  It's been awhile since I
gave nph- a look.

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@hyperreal.com     http://www.apache.org     http://www.organic.com/jobs

---------- Forwarded message ----------
Date: Fri, 17 Jan 97 02:46:44 PST
From: "jon r. luini" <fa...@klinzhai.evolve.com>
To: brian@hyperreal.com
Subject: one more question about nph-


is there any way from within the cgi script to detect that
the client pressed "STOP" and it should exit right away?

it looks like there's some code in apache to specifically avoid
doing various timeout stuff if it's nph- and the scripts don't
receive any signals at all.

--jon


Re: one more question about nph- (fwd)

Posted by Rob Hartill <ro...@imdb.com>.
On Fri, 17 Jan 1997, Brian Behlendorf wrote:

> 
> Does anyone remember the right answer to this?  It's been awhile since I
> gave nph- a look.

I would think that the nph-script needs to trap a SIGPIPE when it tries
to write response data.

> is there any way from within the cgi script to detect that
> the client pressed "STOP" and it should exit right away?
> 
> it looks like there's some code in apache to specifically avoid
> doing various timeout stuff if it's nph- and the scripts don't
> receive any signals at all.
> 
> --jon