diff options
author | mmenke <mmenke@chromium.org> | 2014-10-20 12:38:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-20 19:38:41 +0000 |
commit | 96a960536bdd4d6c6ceec62498a577f1c367ab73 (patch) | |
tree | cbc1de85cafb4e2b3ea4db00db76b20c56e4a4f1 /ash/shell.cc | |
parent | c066b30dc37e4601ba16f42cbb938d45719af81f (diff) | |
download | chromium_src-96a960536bdd4d6c6ceec62498a577f1c367ab73.zip chromium_src-96a960536bdd4d6c6ceec62498a577f1c367ab73.tar.gz chromium_src-96a960536bdd4d6c6ceec62498a577f1c367ab73.tar.bz2 |
Fix a pair of Cronet upload bugs and add tests.
When it retried uploads using Channels, it would restart the upload with
data from the middle of the file, since Channels can't be rewound. It
now just fails those requests instead.
Also, it was impossible to set the method for uploads - the default
value (POST) would overwrite any method set by the embedder.
Adds a new set of upload tests using the embedded test server, as
uploads were basically untested before. Chunked uploads are still not
being tested, as the test server doesn't support them yet.
BUG=424712
Review URL: https://codereview.chromium.org/640593004
Cr-Commit-Position: refs/heads/master@{#300316}
Diffstat (limited to 'ash/shell.cc')
0 files changed, 0 insertions, 0 deletions