MostafaNawara / jquery-stream

Automatically exported from code.google.com/p/jquery-stream
0 stars 0 forks source link

Htmlfile responsetext empty after sending large message #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use IE (for example 9)
2. send one LARGE message (for example 100,000 chars).

you choose the htmlfile transport. If you send small messages, no problem. of 
you send than a really big message, the following occurs:

(not sure,if directly, i have debugged some loops later)
response.innerText is empty and....stays empty. But the IE develper toolbar 
shows me, that the downloaded text is growing.

you are in the interate-loop, response.innerText never unequals '' ----> hang.

Sebastian.
Greetings from Germany

Original issue reported on code.google.com by sebastia...@gmail.com on 22 Jul 2011 at 12:27

GoogleCodeExporter commented 9 years ago
This problem occurs only in the newest source code version of june 18th. So i 
moved back to the offical, latest release.

Original comment by sebastia...@gmail.com on 23 Jul 2011 at 1:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I tested it with 400 kilobytes message using IE8 and Tomcat 7, Java servlet 
container, but there was no problem.

I wonder several things about your test.

1. What is the stream's content type? text/plain? or text/html?
2. How did you check that the text is growing using developer toolbar? Although 
the response.innerText is still empty, If the document is growing, the response 
object maybe refers to wrong element for some reason.
3. Could you test it again with attached jquery.stream.js?

If it works with 1.1.1, the cause of the problem will be either issue 16 or 
issue 18.

Original comment by flowersi...@gmail.com on 26 Jul 2011 at 1:14

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by flowersi...@gmail.com on 12 Aug 2011 at 3:02

GoogleCodeExporter commented 9 years ago
The above comment became invalid through developing Stream object and fixing 
releated issues. 

For now, I'll close this issue. If the problem still persists, please feel free 
to comment.

Original comment by flowersi...@gmail.com on 16 Sep 2011 at 5:01