Hey folks,
I've duplicated Gal's trouble with gzip compression of textures on XP
using the latest JRE. The client stalls when loading the texture,
complains that the GZip stream ended prematurely, times out after 30
seconds and loads the model without the texture. If the first model
to load has a texture you'll see whitescreen for 30 seconds when
loading the client.
One interesting bit: I don't see the same problem when I point the
client at transmutable.com, which is running the same server code.
One difference is that transmutable.com is running tomcat behind an
Apache httpd via mod_jk, unlike the usual development case where the
client talks directly to tomcat.
Anyway, since gzip compression doesn't actually do much good for
texture transfer speeds I'm going to check in a change that turns it
off for textures but leaves it on for models and see if that solves
the stalls. I also need to check that we're setting the
content-length correctly for compressed transfers.
I remain,
- Trevor
Java: Write Once, Debug Everywhere
|