diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-08 20:02:07 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-08 20:02:07 +0000 |
commit | 2964020f490c8ccd2fa24151ca68b8b90fc1296e (patch) | |
tree | df84ce74ee10d09eec8f8a219558ec1288a7650d /chrome/plugin/plugin_channel_base.h | |
parent | 7cc342811390ce2b26f27e80e8a79a28884574a1 (diff) | |
download | chromium_src-2964020f490c8ccd2fa24151ca68b8b90fc1296e.zip chromium_src-2964020f490c8ccd2fa24151ca68b8b90fc1296e.tar.gz chromium_src-2964020f490c8ccd2fa24151ca68b8b90fc1296e.tar.bz2 |
Need to close the plugin stream if NPP_Write fails.
This occurs on YouTube when the user moves the slider to advance the video. Flash is doing this to inform the browser that it should cancel the existing stream. Without handling this error, we end up downloading the video multiple times from multiple offsets. After the user moves the slider 6 times, we will end up having saturated the maximum of 6 connections per host, and then YouTube video playback will appear to be wedged.
R=joshia
Review URL: http://codereview.chromium.org/1622
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1859 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_channel_base.h')
0 files changed, 0 insertions, 0 deletions