httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <>
Subject Keepalives in A2?
Date Mon, 24 Jun 2002 18:03:36 GMT
With Apache 1.3 all you had to do to get a keep-alive was set your
content-length correctly:

HTTP/1.1 200 OK
Date: Mon, 24 Jun 2002 17:05:04 GMT
Server: Apache/1.3.22 (Unix) PHP/4.3.0-dev
X-Powered-By: PHP/4.3.0-dev
Content-length: 1024
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html

One of the benefits with Apache 2's architecture is that it knows the
content length and sets it.  But I never seem to get a keep-alive from it.
Identical request and identical PHP script with Apache 2:

HTTP/1.1 200 OK
Date: Mon, 24 Jun 2002 17:01:17 GMT
Server: Apache/2.0.40-dev (Unix) PHP/4.3.0-dev
Accept-Ranges: bytes
X-Powered-By: PHP/4.3.0-dev
Content-Length: 1024
Connection: close
Content-Type: text/html; charset=ISO-8859-1

Is there something else I need to do in Apache2 to get a keep-alive


View raw message