commit | 02f0cb2eb84a112fcf644d7d1fd0b5f94ea2f03b | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Apr 27 18:25:33 2010 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Apr 28 11:24:23 2010 -0700 |
tree | 9d4d1e8ff07c5a6b8c49b2ba9e036a3776a0afa0 | |
parent | f205f06be1ce65f132be1b7c850675086f26c0f7 [diff] |
Fix HttpURLConnection.setFixedLengthStreamingMode. Add better testing of chunked and fixed-length modes, and fix fixed-length mode so it doesn't try to buffer all the output (which is the last thing you want because the only point of that mode is to explicitly disable as much buffering as possible). Bug: http://code.google.com/p/android/issues/detail?id=3164 Change-Id: Ie0adc374b9c8093ab55211222cec0eeab0e27e96