Oh this is interesting.
In my minimal test it works just fine and properly closes the connection.
In the full test, the connection is sent keep-alive on the response.
Same directory, all other headers are the same, being sent and being received, except for the keep alive
Both are php programs emulating a gif image.
Clearly I need to investigate more.
Just discovered if I call the main program with the full index.php name the connection is properly closed.
But if called just by the sub-directory ending in / it does a keep-alive
I would guess there is a lower rewrite rule that is causing havoc.
Why should a rewrite rule unset the connection: close though?
Last edited by aww; 02-11-2011 at 01:40 PM..