You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joe Orton <jo...@redhat.com> on 2005/04/01 11:30:40 UTC
Re: [PATCH] mod_proxy_http
On Wed, Mar 30, 2005 at 07:40:13PM +0200, Sander Striker wrote:
> It seems like mod_proxy_http is being cute and not sending an EOS
> bucket down the rest of the filter stack when it only receives
> headers. This (most likely) causes mod_cache's cache_save_filter
> to not be run when it receives a 304.
> Unfortunately I cannot 100% reproduce this locally, but the behaviour
> seems to be consistent on a solaris production machine which I can't
> fiddle about with too much (which includes testing this patch short
> term).
This broke the test of sending a 1xx response via the proxy; now the
final response gets eaten up somewhere. I presume the right fix is to
just exclude interim responses from this logic, I committed that.
(t/modules/proxy.t in httpd-test)
GET /reverse/modules/cgi/nph-102.pl HTTP/1.1
Host: localhost
HTTP/1.1 102 Please Wait...
Date: Fri, 01 Apr 2005 09:25:55 GMT
Host: nph-102
Content-Length: 0
Content-Type: text/plain
this is nph-stdout