httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: [PATCH] CGI unbuffering for 1.3
Date Mon, 07 Jul 1997 00:14:38 GMT
At 10:46 PM 7/3/97 -0700, you wrote:
>	Whee, I made my cgi unbuffering work with 1.3 What this does:
>createas a select() loops between the cgi and the client, so that if
>the cgi pauses its output, the client sees a puase. If nph- is on,
>then the only difference is that the select() loops starts as soon as
>the cgi starts, instead of waiting until
>scan_script_headers/send_http_hedares happens.

+1, it's running on Hyperreal and all appears well, tested with regular
CGI, CGI designed to output every 2 seconds, and with nph-cgi.

I just noticed - if a script is running, and it's chown'd due to suexec to
a UID other than the main server, then the server can't kill it when the
client quits the connection before the script is done.  Interesting problem
- should the server fire up suexec with sh kill?  :)

	Brian


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
"Why not?" - TL                brian@organic.com - hyperreal.org - apache.org

Mime
View raw message