httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: [PATCH] MaxRequestsPerChild acting a little better with keepalive
Date Mon, 04 Jun 2001 09:40:58 GMT
Thomas Eibner wrote:

> I would have liked for a better way to turn off keepalive for the last
> request of the child, than just terminating it, but I couldn't find a way
> to turn off keepalive before the headers were sent and ap_process_request
> was called.

If I understand you right then this is easy - simply add a Connection
header like so:

Connection: close

Before the headers are sent out, and the browser will be signalled that
this is the last request on this connection.

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."
Mime
View raw message