Re: Tomcat vs deflate

2009-02-19 Thread Gabor 'Morc' KORMOS
Well, I may do the patch just to help the community, but don't hold your breath ;) Adobe is strange about features especially as gzip uses the same deflate method as zlib, but within a different container so the gzip ActionScript is actually stripping off a few bytes of the binary data and pas

Re: Tomcat vs deflate

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Morc, On 2/19/2009 7:13 AM, Gabor 'Morc' KORMOS wrote: > I > checked the code and unfortunately you have to modify the connector code > too Yeah, it looks a bit hard-coded. As most of the folks on the list would say: "patches are always welcome". If

Re: Tomcat vs deflate

2009-02-19 Thread Gabor 'Morc' KORMOS
Hi Chris, I wanted to reply yesterday but the Tomcat mailing list server deemed my office mail server as a spammer server and I couldn't reply. I checked the code and unfortunately you have to modify the connector code too because the filters are added in there manually not read from a dir

Re: Tomcat vs deflate

2009-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Morc, On 2/17/2009 8:07 AM, Gabor 'Morc' KORMOS wrote: > So basically you say code it for yourself by modifying the HTTP connector? Tomcat's existing gzip is implemented as an OutputFilter. You might want to browse the source for that before you go

RE: Tomcat vs deflate

2009-02-17 Thread Caldarale, Charles R
> From: Gabor 'Morc' KORMOS [mailto:m...@baxter-it.com] > Subject: Re: Tomcat vs deflate > > So basically you say code it for yourself by modifying the > HTTP connector? Preferably you'd write a filter to do it, rather than modifying Tomcat source. Oh look, so

Re: Tomcat vs deflate

2009-02-17 Thread Tim Funk
yup - and if your inclined - you can submit an bug enhancement with the patch -Tim Gabor 'Morc' KORMOS wrote: So basically you say code it for yourself by modifying the HTTP connector? Morc. On 17/02/2009 13:46, Tim Funk wrote: There aren't really any docs to point to beyond http://tomcat

Re: Tomcat vs deflate

2009-02-17 Thread Gabor 'Morc' KORMOS
So basically you say code it for yourself by modifying the HTTP connector? Morc. On 17/02/2009 13:46, Tim Funk wrote: There aren't really any docs to point to beyond http://tomcat.apache.org/tomcat-6.0-doc/config/http.html From there you can dig into the source. Since gzip and deflate are

Re: Tomcat vs deflate

2009-02-17 Thread Tim Funk
Sadly no. As I rethink the previous statement - I wonder how true it is. For small self contained webapps - Tomcat is usually enough. But once you introduce clustering or use it as public face to the world, instead of a "internal app" - I would kind of expect apache to be out front to handle

Re: Tomcat vs deflate

2009-02-17 Thread Tim Funk
There aren't really any docs to point to beyond http://tomcat.apache.org/tomcat-6.0-doc/config/http.html From there you can dig into the source. Since gzip and deflate are much the same - it might be relatively easy. -Tim Gabor 'Morc' KORMOS wrote: Hi Tim, Thanks for the speedy response.

RE: Tomcat vs deflate

2009-02-17 Thread Peter Crowther
> From: Tim Funk [mailto:funk...@joedog.org] > most people use apache in front of tomcat. Tim, I'm interested - do you have any real-world usage figures? I'm genuinely not trying to challenge your assertion; I'd just love to see the data, and how it's changed over time! - Peter

Re: Tomcat vs deflate

2009-02-17 Thread Gabor 'Morc' KORMOS
Hi Tim, Thanks for the speedy response. Can you point me in the direction of some documentation which describes how to do it? I'm willing to read just did not find what to read :) Thanks, Morc. On 17/02/2009 13:23, Tim Funk wrote: Can support - yes Out of the box - no. Why not out o

Re: Tomcat vs deflate

2009-02-17 Thread Tim Funk
Can support - yes Out of the box - no. Why not out of the box? Because gzip is there and most people use apache in front of tomcat. -Tim Gabor 'Morc' KORMOS wrote: Hi Guys/Gals, I tried to search for an answer whether Tomcat can support deflate as compression but I found nothing really

Tomcat vs deflate

2009-02-17 Thread Gabor 'Morc' KORMOS
Hi Guys/Gals, I tried to search for an answer whether Tomcat can support deflate as compression but I found nothing really except that it supports gzip by adding the compression parameter to the Connector definition. Is there a way to enable deflate besides/instead of gzip in any version of