diff options
author | Neil Fuller <nfuller@google.com> | 2015-01-09 11:43:42 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2015-01-09 11:50:50 +0000 |
commit | 62d0677b0f6cc5ae48fd0b816ea5caad82264fd6 (patch) | |
tree | fa33c8cb67daeb4437a2909b3bcc6bd422d09e73 /libs/androidfw/misc.cpp | |
parent | 024191b57f2165e4d0c2c579f95046d491feacb5 (diff) |
Fix HttpResponseCacheTest in anticipation of an OkHttp upgrade.
OkHttp recently changed the behavior of their caching with
commit e74e3f3bf744ef7f4d8ee724a7cf2347e486cfab - it is now
neccessary to close the inputstream (or disconnect the
HttpURLConnection) for a response to be cached.
This change is (effectively) a no-op prior to the upgrade.
The behavior is undefined as to whether closing the
input stream is required for caching. OkHttp's new behavior
is consistent with other HttpURLConnection implementations
tried.
Change-Id: Iaf57371651296ac84850971ef60a9338cead57c0
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions