Google Answers Logo
View Question
 
Q: gzip transfer-encoding problem with IE ( No Answer,   1 Comment )
Question  
Subject: gzip transfer-encoding problem with IE
Category: Computers > Internet
Asked by: beavis-ga
List Price: $50.00
Posted: 30 Sep 2003 01:37 PDT
Expires: 30 Oct 2003 00:37 PST
Question ID: 261464
Internet Explorer seems to have trouble with pages served using
the gzip HTTP transfer-encoding. Earlier versions (5.0) would
sometimes crash, while IE6 doesn't crash but does go into some
kind of weird state. Here are the IE6 symptoms:
 - Page does not load
 - The browser does not even bother to draw in the web page area
   of the window (meaning that if you put another window on top of
   it, and then bring IE back to the foreground, it will still show
   the old window or whatever other junk was on the screen). It
   does however draw its menues and toolbars.
 - Hitting reload usually doesn't help, although occasionally it
   will and the page will load correctly.
 - Navigating to another site does work, and seems to bring the
   browser "back to life".
 - The IE icon will sometimes spin as though it is loading a page,
   however a 'netstat' on the server reveals that there aren't
   any open connections.
 - After IE goes into the weird state, the most reliable way
   to make it work again is to restart IE. Waiting a long time
   also seems to help though.

My suspicion is that there is a bug in IE's networking code that
causes the connection to get into some invalid state.

This problem seems to appear in conjunction with several aspects
of the page being loaded (but I'm not certain of any of these):
 - Multiple simultaneous loads (as with frames)
 - iframes
 - javascript
 - utf8
 - chunking
 - https (seems to make the problem occur more often)
 - short http keep-alive timeout (long keep-alive makes the problem
   mostly go away, while short or no keep-alive makes it more likely)


I want a better understanding of the problem and the ability to
reliably avoid it while still using gzip and the same page structure.
What I need from you is:
 - A simple demonstration of the problem. This can just be a little
   python server, or whatever. It should run in linux. The demo
   _must_ demonstrate the problem on IE6, though it would be nice
   if it also applied to IE 5.0 and 5.5.
 - A fix for the problem that involves changing something on the
   server. The simple demo should also demo this fix. Switching off
   gzip, using a super-long keepalive, making a major change to the
   page content, or switching to a different browser is not an
   acceptable fix.


The web application experiencing the problem is internal and
therefore I can't provide it as a demonstration. I've experienced
the problem with several unrelated applications though, so it's
not completely peculiar to my current app.

Request for Question Clarification by joseleon-ga on 30 Sep 2003 02:08 PDT
Hello, beavis:

   Which webserver are you using? Are you using Apache+mod_gzip? Which version?

Regards.

Request for Question Clarification by joseleon-ga on 08 Oct 2003 01:52 PDT
Hello, beavis:
  Now the question has been reopened I will continue researching and
be sure I won't answer until you get what you want. Is there any way I
can test the problems you say? That is, is that server live on the
internet so I can access to it?

Regards.

Clarification of Question by beavis-ga on 08 Oct 2003 16:54 PDT
Unfortunately the server cannot be made publicly available. It uses
zlib to perform the compression though, so hopefully it's not too
unusual. I should reemphasize that this problem does not occur on all
gzipped pages. It only sometimes occurs, and I suspect that it may be
related to the http chunk boundaries. The specific page layout is a
frameset with a several html pages, one of which includes an external
css page. From what I can tell, IE is getting hung up on the css.

Request for Question Clarification by joseleon-ga on 09 Oct 2003 00:16 PDT
Hello, beavis, a few more questions:
  Is there any possibility you post here a copy of the data is sent to
the browser, that is, served by the webserver? The data must be still
compressed and I will try to perform some tests with that data. Bear
in mind that random problems like you describe are very hard to debug.

  The server are you using implements HTTP transfer-enconding, but
what RFC have you followed to implement it? That is, how you could be
100% sure that there is not a bug on the server?

Regards.

Request for Question Clarification by joseleon-ga on 15 Oct 2003 23:41 PDT
Hello, beavis:
  
  Are you still interested to find a solution to this problem? Please, let me know.

Regards.

Request for Question Clarification by joseleon-ga on 25 Oct 2003 01:22 PDT
Hello, beavis:
  Any updates on this matter? Could I help you?

Regards.
Answer  
There is no answer at this time.

Comments  
Subject: Re: gzip transfer-encoding problem with IE
From: joseleon-ga on 07 Oct 2003 03:27 PDT
 
Hello, beavis:
  Unfortunatly I cannot keep on investigating because the question
have been answered, but the problem should be on the HTTP Gzip
implementation of your custom server because Apache works perfectly
with IE.

Regards.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy