Hi Steve,

> Hi,
>
>
>
> I’ve searched the archives and I can see that this was a request a
> few years ago, is there way of achieving this on 2.2?
>
>
>
> I’m using deflate to compress the data on ActiveSync connections,
> most of the time on the small packets there is negative compression
> so I want to avoid compressing these, however there are gains on the
> larger packets.
>
>
>
> I don’t think there is a way of setting an environment variable based
> on the content-length is there?

2.3/2.4 has ap_expr which *could* be used for this purpose

FilterDeclare gzip CONTENT_SET
FilterProvider gzip inflate "%{CONTENT_LENGTH} <= 1024"
FilterChain gzip


However there *is* *no* such variable as CONTENT_LENGTH..

> Regards
>
>
>
> The information contained in this email is intended for the personal
> and confidential use
> of the addressee only. It may also be privileged information. If you
> are not the intended
> recipient then you are hereby notified that you have received this
> document in error and
> that any review, distribution or copying of this document is strictly
> prohibited. If you have
> received this communication in error, please notify Brendata
> immediately on:
>
> +44 (0)1268 466100, or email 'techni...@brendata.co.uk'

You're posting on a publicly archived mailing list, which is world-wide
mirrored.

> Brendata (UK) Ltd
> Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK
> Registered Office as above. Registered in England No. 2764339
>
> See our current vacancies at www.brendataco.uk

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to