Commit 54a6fb99 authored by Neil Fuller's avatar Neil Fuller
Browse files

external/okhttp changes to support connection pool flushing

When the preferred network / default network for a device
changes we must flush any pooled connections.

This change has a known issue which will be fixed in a
later commit: Any connections that are in use when
the pool is cleared can be put (back) into the pool after
evictAll(). This means those connections will continue to
reference the old preferred / default network.

Bug: 17314604

(cherry-picked from commit 84f674f3)

Change-Id: Ib5dbeb5a90aff68da3dd312f924c2bdb44f6f213
parent 0918fed9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment