pinkshirt / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

Strange behavior for implementing downloader with DefaultBrowserStreamHandler on IE8 #113

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use IE 8 (XP SP3) to open the web page FBControl.html 
2. attached the debug process to this IE 
3. click the "set stream" link (please modify the request file in jsSetStream() 
javascript function to yours file with size > 100 MB).

What is the expected output? What do you see instead?
   In the visual studio debug process, the expected process is:
   HisStreamHandler::onStreamOpened(..,..) should be called once,
   Then serveral HisStreamHandler::onStreamDataArrived(..,..) should be called. 
   Finally, HisStreamHandler::onStreamCompleted(..,..) should be called.
   However, HisStreamHandler::onStreamDataArrived only called once !!.
   And the resulting download file "c:\temp\HISTECHS\filename.ext" may be unfinished.  (There are instance that I only got 128KB of the file, and sometimes, I get the full file). 

What version of FireBreath are you using? On what operating system and
browsers?
  I am using version 1.3.78 .
  OS : win XP SP3, browsers, Firefox (it works) and IE 8 (with strange behaivor ).

Please provide any additional information below.
  Just use the prep2005.cmd (if you are using VS 2005) to generate the build project. and compile it.  The FBControl.htm is used to pass a http link into the plugin and ask the plugin to download the file in the link.

Original issue reported on code.google.com by michael....@gmail.com on 30 Nov 2010 at 7:04

Attachments:

GoogleCodeExporter commented 9 years ago
I'm sorry we haven't gotten back to this sooner.  Can you try it with 1.4?  
Make sure you're holding shared_ptr references to all your objects until after 
completed.

Alternately, you could look at using the new SimpleStreamsHelper class that was 
added in 1.4 beta 3

Original comment by richarda...@gmail.com on 29 Jan 2011 at 2:00

GoogleCodeExporter commented 9 years ago
Not having heard anything from you, I'm going to close this and assume it's 
fixed.  If that is not the case please let us know.

Original comment by taxilian on 26 Feb 2011 at 7:12