git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: Bug in mod_ratelimit?



> -----Ursprüngliche Nachricht-----
> Von: Eric Covener <covener@xxxxxxxxx>
> Gesendet: Sonntag, 22. Juli 2018 21:58
> An: Apache HTTP Server Development List <dev@xxxxxxxxxxxxxxxx>
> Betreff: Re: Bug in mod_ratelimit?
> 
> > > You probably didn't test with chunked encoding (neither did I!), see
> > > how ap_http_header_filter() adds the "CHUNK" filter after the
> headers
> > > have been sent, so if anything retains the headers they will be
> > > considered as the body by the (late) ap_http_chunk_filter()..
> 
> would it be reasonable to send a flush down, and/or track whether the
> headers are flushed somewhere out of the http filter ctx?

Flush in case of mod_ratelimit or in general? In general wouldn't that
cause "smaller" TCP packets to be sent if content is ready and the headers are "short" and hence cause some performance degradation?

Regards

Rüdiger