d***@gmail.com
2007-08-15 13:41:37 UTC
Am I right in thinking that it's not possible to perform asynchronous
tranfers in IE?
What I'm looking for is to be able to perform an HTTP request and
inspect the incoming HTTP response content as it arrives. Given the
material I have been able to find on the web about this, I have a
suspicion that IE always uses wininet in synchronous mode.
The reason for wanting this is to build a AJAX style MUD client that
is as responsive over distance as a regular telnet based MUD
connection. The killer in this application is the round trip time for
I/O using HTTP because of the request/response cycle.
On the custom HTTP server, I've tried both chunked transfers and
delaying the HTTP response data (with a Content-Length header). In
each case, I delivered the response in three parts over a four second
period.
In IE, I've tried XMLHttpRequest, loading via <script> elements and
just an HTML document with embedded <script> elements.
In all of these tests, I could not make IE react to the downloaded
content until after the entire HTTP request had been satisfied. On a
related note, both Firefox and Opera were able to process the incoming
HTTP content asynchronously, but Safari waited until the end like IE
does (all tests on Windows).
Silverlight might be my next option, though I was trying to produce a
zero-install solution!
--
Brick
tranfers in IE?
What I'm looking for is to be able to perform an HTTP request and
inspect the incoming HTTP response content as it arrives. Given the
material I have been able to find on the web about this, I have a
suspicion that IE always uses wininet in synchronous mode.
The reason for wanting this is to build a AJAX style MUD client that
is as responsive over distance as a regular telnet based MUD
connection. The killer in this application is the round trip time for
I/O using HTTP because of the request/response cycle.
On the custom HTTP server, I've tried both chunked transfers and
delaying the HTTP response data (with a Content-Length header). In
each case, I delivered the response in three parts over a four second
period.
In IE, I've tried XMLHttpRequest, loading via <script> elements and
just an HTML document with embedded <script> elements.
In all of these tests, I could not make IE react to the downloaded
content until after the entire HTTP request had been satisfied. On a
related note, both Firefox and Opera were able to process the incoming
HTTP content asynchronously, but Safari waited until the end like IE
does (all tests on Windows).
Silverlight might be my next option, though I was trying to produce a
zero-install solution!
--
Brick