iofcas / nativeclient-sdk

Automatically exported from code.google.com/p/nativeclient-sdk
0 stars 0 forks source link

Update geturl_handler.cc example to match pattern used in url_loader/streaming.cc #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the idiom from examples/geturl/geturl_handler.cc to download a large 
local file

What is the expected output? What do you see instead?

This is expected to work (i.e., the file should be downloaded without problem).

However, if the download is fast enough and large enough, then the recursive 
calls can blow out the stack and cause a crash

Please use labels and text to provide additional information.

The recommended approach is to instead use the pattern in 
ppapi/examples/url_loader/streaming.cc

Original issue reported on code.google.com by mball@google.com on 22 Aug 2011 at 12:42

GoogleCodeExporter commented 9 years ago

Original comment by dsprin...@chromium.org on 25 Aug 2011 at 4:27