Revert 91134 - Revert 89600 - Treat ERR_CONNECTION_CLOSED as a succesful download.
Revert 91134 - Revert 89600 - Treat ERR_CONNECTION_CLOSED as a succesful download.

=========================
Note: This revert is only temporary, to collect statistics for how frequently this case is encountered in the wild. This will be re-reverted shortly.
=========================

Some servers will send a Content-Length which exceeds the number of bytes sent in the message body.

Although this violates the RFC spec, other major browsers permit it
and treat a download as complete in that case. Chrome did as well
prior to M12, and now some users are unable to access the item that
they downloaded.

BUG=85549
TEST=Go to server which advertises larger Content-Length than number of bytes sent, confirm that the download is no longer reported as interrupted.


Review URL: http://codereview.chromium.org/7203004

TBR=cbentzel@chromium.org

Review URL: http://codereview.chromium.org/7246025

TBR=cbentzel@chromium.org
Review URL: http://codereview.chromium.org/7289041

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@91337 0039d316-1c4b-4281-b951-d872f2087c98

PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,keishi/chromium,axinging/chromium-crosswalk,anirudhSK/chromium,ChromiumWebApps/chromium,Chilledheart/chromium,M4sse/chromium.src,fujunwei/chromium-crosswalk,anirudhSK/chromium,anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,rogerwang/chromium,rogerwang/chromium,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,ltilve/chromium,Chilledheart/chromium,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,zcbenz/cefode-chromium,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,ondra-novak/chromium.src,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Pluto-tv/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ChromiumWebApps/chromium,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,dednal/chromium.src,rogerwang/chromium,markYoungH/chromium.src,patrickm/chromium.src,Fireblend/chromium-crosswalk,littlstar/chromium.src,ondra-novak/chromium.src,ltilve/chromium,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,axinging/chromium-crosswalk,ltilve/chromium,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,Fireblend/chromium-crosswalk,M4sse/chromium.src,dushu1203/chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,krieger-od/nwjs_chromium.src,anirudhSK/chromium,keishi/chromium,rogerwang/chromium,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,robclark/chromium,mogoweb/chromium-crosswalk,jaruba/chromium.src,Just-D/chromium-1,keishi/chromium,M4sse/chromium.src,Jonekee/chromium.src,fujunwei/chromium-crosswalk,bright-sparks/chromium-spacewalk,anirudhSK/chromium,ondra-novak/chromium.src,littlstar/chromium.src,keishi/chromium,hujiajie/pa-chromium,Chilledheart/chromium,anirudhSK/chromium,crosswalk-project/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,pozdnyakov/chromium-crosswalk,dednal/chromium.src,Jonekee/chromium.src,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,timopulkkinen/BubbleFish,Just-D/chromium-1,Chilledheart/chromium,patrickm/chromium.src,mogoweb/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,robclark/chromium,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,jaruba/chromium.src,Chilledheart/chromium,M4sse/chromium.src,Fireblend/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,ltilve/chromium,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,anirudhSK/chromium,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,jaruba/chromium.src,ltilve/chromium,markYoungH/chromium.src,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,jaruba/chromium.src,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,robclark/chromium,robclark/chromium,hgl888/chromium-crosswalk-efl,dushu1203/chromium.src,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,dushu1203/chromium.src,timopulkkinen/BubbleFish,timopulkkinen/BubbleFish,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,markYoungH/chromium.src,axinging/chromium-crosswalk,robclark/chromium,bright-sparks/chromium-spacewalk,Just-D/chromium-1,chuan9/chromium-crosswalk,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,patrickm/chromium.src,rogerwang/chromium,littlstar/chromium.src,rogerwang/chromium,ltilve/chromium,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,keishi/chromium,patrickm/chromium.src,ltilve/chromium,ltilve/chromium,dednal/chromium.src,Jonekee/chromium.src,markYoungH/chromium.src,krieger-od/nwjs_chromium.src,jaruba/chromium.src,jaruba/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,littlstar/chromium.src,pozdnyakov/chromium-crosswalk,hujiajie/pa-chromium,mogoweb/chromium-crosswalk,Jonekee/chromium.src,dednal/chromium.src,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,dednal/chromium.src,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,Just-D/chromium-1,chuan9/chromium-crosswalk,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,M4sse/chromium.src,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,littlstar/chromium.src,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,nacl-webkit/chrome_deps,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,M4sse/chromium.src,patrickm/chromium.src,keishi/chromium,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,robclark/chromium,markYoungH/chromium.src,chuan9/chromium-crosswalk,hujiajie/pa-chromium,zcbenz/cefode-chromium,jaruba/chromium.src,ChromiumWebApps/chromium,keishi/chromium,robclark/chromium,timopulkkinen/BubbleFish,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,littlstar/chromium.src,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,anirudhSK/chromium,keishi/chromium,axinging/chromium-crosswalk,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,ondra-novak/chromium.src,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,dednal/chromium.src,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,zcbenz/cefode-chromium,dushu1203/chromium.src,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,rogerwang/chromium,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,ondra-novak/chromium.src,markYoungH/chromium.src,axinging/chromium-crosswalk,hgl888/chromium-crosswalk,dushu1203/chromium.src,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,dednal/chromium.src,Fireblend/chromium-crosswalk,dednal/chromium.src,krieger-od/nwjs_chromium.src,patrickm/chromium.src,hgl888/chromium-crosswalk,dushu1203/chromium.src,ChromiumWebApps/chromium,Just-D/chromium-1,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,anirudhSK/chromium,crosswalk-project/chromium-crosswalk-efl,hujiajie/pa-chromium,markYoungH/chromium.src,robclark/chromium,robclark/chromium,jaruba/chromium.src,M4sse/chromium.src,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,markYoungH/chromium.src,ondra-novak/chromium.src,Jonekee/chromium.src,anirudhSK/chromium,nacl-webkit/chrome_deps,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,dushu1203/chromium.src,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,hujiajie/pa-chromium,Chilledheart/chromium,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,nacl-webkit/chrome_deps,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,robclark/chromium,keishi/chromium,junmin-zhu/chromium-rivertrail,chuan9/chromium-crosswalk,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk-efl,rogerwang/chromium,littlstar/chromium.src,patrickm/chromium.src,patrickm/chromium.src,fujunwei/chromium-crosswalk,ondra-novak/chromium.src,M4sse/chromium.src,rogerwang/chromium,bright-sparks/chromium-spacewalk,hujiajie/pa-chromium,Jonekee/chromium.src,Chilledheart/chromium,dednal/chromium.src,pozdnyakov/chromium-crosswalk,chuan9/chromium-crosswalk,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,rogerwang/chromium,patrickm/chromium.src,dednal/chromium.src,Jonekee/chromium.src,anirudhSK/chromium,keishi/chromium,Chilledheart/chromium,ltilve/chromium,Fireblend/chromium-crosswalk,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src