Graham Leggett wrote: > Hi all, > > In the v2.0 proxy, the following code exists: > > /* In order for ap_set_keepalive to work properly, we can NOT > * have any length information stored in the output headers.
> Surely the correct fix is to make sure that ap_set_keepalive() and > friends should behave intelligently in the presence of an existing > content-length header, rather than just expecting the header to not be > there in the first place? Without looking deeply at the code, I'm under the impression that ap_set_keepalive already works this way, because it is a requirement for normal requests. In any case, I'm definitely +1 on not stripping content-length headers unless it is necessary (because, for example, a filter acts on the content). Joshua.
