diff options
author | iyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 00:30:42 +0000 |
---|---|---|
committer | iyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 00:30:42 +0000 |
commit | cc6cd3484260c20f59a6abd8f52d7b1f18b2e973 (patch) | |
tree | d2681f297f33dedba2552207a48e6e4afad1eea9 /base/message_loop.cc | |
parent | 11b901ee17f1ef5aa41c70046b7a5360534c633d (diff) | |
download | chromium_src-cc6cd3484260c20f59a6abd8f52d7b1f18b2e973.zip chromium_src-cc6cd3484260c20f59a6abd8f52d7b1f18b2e973.tar.gz chromium_src-cc6cd3484260c20f59a6abd8f52d7b1f18b2e973.tar.bz2 |
This fixes http://code.google.com/p/chromium/issues/detail?id=643, which
is an issue with the shockwave game not loading.
The plugin issues a number of geturlnotify requests. Some of these requests
come in with response headers without the content length. We would pass in -1
in the NPStream passed down to the plugin. As the end field in the NPStream
structure is an unsigned integer, the plugin would expect more data to arrive
and hence the issue.
The fix is to emulate Safari behavior and set the end field to 0 if the length
is -1.
Bug=643
Review URL: http://codereview.chromium.org/1676
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.cc')
0 files changed, 0 insertions, 0 deletions