You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by André Malo <nd...@perlig.de> on 2002/11/22 03:08:35 UTC
[PATCH] DeflateFilterNote extension
This bubbled up on some discussion with statistic freaks:
The attached patch allows the user to log the accurate filter input and
output byte count, instead of only the rounded compression ratio.
The DeflateFilterNote directive will be extended as follows:
DeflateFilterNote [type] name
type can be one of "input", "output" or "ratio". "ratio" is assumed if the
type is omitted (backwards compatible).
Example:
DeflateFilterNote input deflate-in
DeflateFilterNote output deflate-out
LogFormat '%t "%r" %{deflate-in}n/%{deflate-out}n' deflate
nd
--
Treat your password like your toothbrush. Don't let anybody else
use it, and get a new one every six months. -- Clifford Stoll
(found in ssl_engine_pphrase.c)
Re: [PATCH] DeflateFilterNote extension
Posted by Henri Gomez <hg...@apache.org>.
André Malo wrote:
> This bubbled up on some discussion with statistic freaks:
>
> The attached patch allows the user to log the accurate filter input and
> output byte count, instead of only the rounded compression ratio.
> The DeflateFilterNote directive will be extended as follows:
>
> DeflateFilterNote [type] name
>
> type can be one of "input", "output" or "ratio". "ratio" is assumed if the
> type is omitted (backwards compatible).
> Example:
>
> DeflateFilterNote input deflate-in
> DeflateFilterNote output deflate-out
>
> LogFormat '%t "%r" %{deflate-in}n/%{deflate-out}n' deflate
Great !!!