Re: AJAX request hangs for 5 minutes



Michael Wojcik wrote:
Thomas 'PointedEars' Lahn wrote:
mouac01@xxxxxxxxx wrote:
"The Yahoo! Mail team found that when using XMLHttpRequest, POST is
implemented in the browsers as a two-step process: sending the headers
first, then sending data. So it's best to use GET, which only takes
one TCP packet to send (unless you have a lot of cookies)."
It would appear that my former statement applies. The Yahoo! Mail team
obviously does not know how either HTTP or TCP works:
[...]
The TCP *three-way* handshake is one of the first things you learn when
studying computer science.

Nonsense. The three-way handshake, and TCP in general, have nothing to
do with computer science; and it's unlikely that most people studying
computing learn the details of TCP as "one of the first things".

IBTD, BTDT. YMMV.

And the three-way handshake is irrelevant here. [...]

It is relevant to the quotation I was referring to, for at least three TCP
packets (SYN, ACK, and one containing the actual information) have to be
sent by the client in order to transmit information from the client to the
server via TCP.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7@xxxxxxxxxxxxxxxx>
.


Loading