Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 75341 invoked from network); 6 Oct 2006 11:15:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 11:15:10 -0000 Received: (qmail 66447 invoked by uid 500); 6 Oct 2006 11:14:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 66405 invoked by uid 500); 6 Oct 2006 11:14:55 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 66394 invoked by uid 99); 6 Oct 2006 11:14:55 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2006 04:14:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [204.74.20.252] ([204.74.20.252:34147] helo=sid.armstrong.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id E0/56-18133-7AA36254 for ; Fri, 06 Oct 2006 04:14:49 -0700 Received: from [10.38.22.70] (tafunk-lt.americas.armstrong.com [10.38.22.70]) by sid.armstrong.com (8.13.6/8.12.8) with ESMTP id k96BM05t017124 for ; Fri, 6 Oct 2006 06:22:00 -0500 Message-ID: <45263AA4.1050802@joedog.org> Date: Fri, 06 Oct 2006 07:14:44 -0400 From: Tim Funk Organization: Human Being User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: AXIS: tomcat always do http compression without watch min size References: <6654078.post@talk.nabble.com> <4524E26E.5090007@joedog.org> <6676089.post@talk.nabble.com> In-Reply-To: <6676089.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N you won't be able to disable the chunked encoding. But you can disable the compression by ensure the client does NOT send a "accept-encoding" header with the a value containing "gzip" or by using the noCompressionUserAgents, compressableMimeType attributes on the connector. -Tim wakeup wrote: > Thanks, I think you are right. Axis don't set content-leght because it is > sending response chunked. Where do I have to disable chunk in the axis > server o in the client? > > Thankss > > > Tim Funk wrote: > >> compressionMinSize only works with fixed file sizes. If axis is NOT >> setting the ContentLength before serving back results - then >> compressionMinSize can't be checked to see if compression can be done. >> And then compression will be done based on the client input headers. >> >> -Tim >> >> wakeup wrote: >> >>> Hi, >>> >>> I have an apache tomcat 5.5.17. In my server.xml file I have put >>> >>> >> maxThreads="150" minSpareThreads="25" maxSpareThreads="75" >>> enableLookups="false" redirectPort="8443" acceptCount="100" >>> connectionTimeout="20000" disableUploadTimeout="true" >>> compression="on" >>> *compressionMinSize="2048000" * >>> noCompressionUserAgents="gozilla, traviata" >>> compressableMimeType="text/html,text/xml,text/plain,application/dime" >>> /> >>> >>> It run sucessfull with normal html tomcat pages. But when I ask to axis >>> 1.4 >>> webservices it always compress the response althought it be less than >>> 1kb. >>> Why axis don't respect compressionMinSize parameter? >>> Thanks >>> --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org