commit | f29ad8a60254345d1943d1b3836482395a7c916f | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Thu Sep 30 14:51:31 2010 -0700 |
committer | Jesse Wilson <jessewilson@google.com> | Thu Sep 30 14:54:23 2010 -0700 |
tree | 83ae26cc09342b29fa3986f13f0876d31f75cb91 | |
parent | dd07d5401392873c17a6a44d7fba72b60c689d12 [diff] |
Don't explode if flush() is called when an HTTP upload stream is closed. Streams like BufferedOutputStream always call flush() even if it is a no-op. These flushes must be permitted for compatibility with apps that don't call close() until after the response has been retrieved. Change-Id: Ic5c86ab6050c6c4d166c44ae5b4fc7a1688e7e45 http://b/3038470