On Wed, Apr 29, 2015 at 3:17 PM, Yann Ylavic <ylavic....@gmail.com> wrote:
> Index: modules/http/http_filters.c
> ===================================================================
> --- modules/http/http_filters.c    (revision 1676716)
> +++ modules/http/http_filters.c    (working copy)
> @@ -1292,6 +1292,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_heade
>       * The default (unset) behavior is to squelch the C-L in this case.
>       */
>      if (r->header_only
> +        && (r->clength < 0)

We probably still require:
+        && !r->proxyreq
since mod_proxy does not call ap_set_content_length().

Reply via email to