diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-06 11:18:04 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-06 11:18:04 +0000 |
commit | e240297039ebec1ffaeec45f65e01e8cdb8e1beb (patch) | |
tree | 71c2939afeb0b879849762b36e26aa2158281103 /chrome/browser/browser_process.h | |
parent | a9b641d48aa4df76cabe07e84741d9221923e57a (diff) | |
download | chromium_src-e240297039ebec1ffaeec45f65e01e8cdb8e1beb.zip chromium_src-e240297039ebec1ffaeec45f65e01e8cdb8e1beb.tar.gz chromium_src-e240297039ebec1ffaeec45f65e01e8cdb8e1beb.tar.bz2 |
Fix the problems with some FTP transactions taking a long time.
The root cause was not firing the completion callback at the first point
the data could be read. This lead to a temporary deaadlock-like situation,
where the browser was waiting for the server to send a response
on the control connection, and the server was waiting for the browser
to start reading from the data connection.
This patch makes the completion callback fire as soon as data is ready.
It also removes a broken test. We should get a coverage for that scenario
from other tests.
TEST=Covered by net_unittests.
BUG=36116
Review URL: http://codereview.chromium.org/668162
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.h')
0 files changed, 0 insertions, 0 deletions