> > The proxy should flush, because otherwise the data won't stream to the > > client. > > doesn't the core flush once it has max-something bytes or eos?
Only if the data makes it to the core_output_filter. :-) > > The problem that I see, is that the proxy shouldn't be removing > > the C-L from the response that the origin server provided. > > other filters may have modified the content, so it is possible content > length could end up different from what the downstream server sent. If another filter modifies the content it should be removing the C-L from the request. The core shouldn't be removing the C-L for us. The problem is that the C-L filter will only insert the C-L if it has all of the data. If the proxy removes the C-L, then there is one less piece of information for the next cache to use when trying to determine if the data has changed. IMHO, the proxy should be conservative and assume that the data hasn't changed unless it is told that the data has changed. Ryan