mozilla does not load webmail pages, sucha as www.hotmail.com all we get is a blank page
Hrmm. This seems to be a bad interaction between Mozilla and Microsoft IIS 5.0, which is not strictly following RFC 2616. I believe the problem is that Mozilla is sending a Connection: keep-alive, while IIS is responding with a 302, and closing the connection but *not* sending Connection: close. The RFC states: "If the server chooes to close the connection immediately after sending the response, it SHOULD send a Connection header including the connection-token close" Since the specification uses SHOULD instead of MUST, Mozilla should be able to handle this situation. 4.x handles this fine. Reassigning to networking.
'correctness' doesn't make sense in this case nominating for beta3.
present in M17 and M18 nightly (10 Aug 2000)
Hmm. Looks like hotnail just drops the connection after the first request line not even sending a newline after headers. This is bizare ...
*** Bug 48625 has been marked as a duplicate of this bug. ***
Wow IIS is a real piece of junk. It sends the response and drops the connection after the very first \n, just like ruslan said. That is totally against RFC 2616, if my reading is correct. It seems like the proper handling of this case is to display an error page.
What I'm thinking however is putting a kludge which will fire OnHeadersAvailable right inside of OnStop if Location header is detected - a bit tricky but it can be done. Putting up an error message is tempting, but I don't know if PDT will agree with that. BTW - removing regression keyword - it's not out regression, but MS's.
The reason this worked in 4.x is that we initiated the new redirected request right after detecting the Location header. (And hence never really waited for anything else) This is obviously the wrong thing to do in the new world order. I am proposing a quirk mode option to enable sending OnHeadersAvailable right after Location header to mimic this behaviour.
Just to be clear, there are three abnormal behaviors demonstrated by hotmail in this example: 1) The server is responding after the first newline. This is against the RFC 2) The server is sending only one CRLF after the response. Also against the RFC 3) The server is not sending Connection: close, which is recommended by the RFC
Proposed fix attached. Awaiting review - Gagan?
Hotmail homepage now loads on Linux 2000-08-19-08. All hail IIS 5.0. sigh.
*** Bug 50253 has been marked as a duplicate of this bug. ***
verified: WinNT 2000082308 Linux 2000082408 Mac8.6 2000082308