[Laszlo-dev] timeout while data still loading
denis at fireflydesign.com
Wed Mar 15 15:15:52 EST 2006
I have an application that downloads swf movies that can be fairly
large. I am showing download progress so the user knows what is going
on. Obviously, some people have faster network speeds that others - so
the download time can vary a lot. I have the timeout set to 30 seconds
currently. But what I'm seeing is that the timeout seems to apply to
the complete download from the start time. For example, if the movie is
loading at a constant rate and it is 95% done, but 30 seconds has passed
since the request was started then the timeout occurs and no movie is
loaded. What I had expected was that the timeout applies to the last
data received, so that it would only timeout if no data was transmitted
for the last 30 seconds.
Can anyone confirm the behavior I am observing? If that's the way it
was intended to work, is there any way to change it so that it works the
way I expected it to work?
Note that I can't just increase the timeout value because there are
other issues, such as 404 requests staying in the load queue until the
timeout period occurs (*LPP-1652
<http://www.openlaszlo.org/jira/browse/LPP-1652>)*, that cause other
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev