Android CTS 5.1 Release 18 (3824209)
Add throttling support to MockWebServer

This adds non-blocking throttling support to MockWebServer.
Most of the changes are patched across from OkHttp's version
(minus SPDY changes).

The motivation is to make an upstream OkHttp change easier
to apply, but having fewer differences with the OkHttp version
should be beneficial.

Bug: 18083851
(cherry picked from commit d8f241c21b3e2e8f94648040b1b62d7b12491d4d)

Change-Id: I7e23675cf0366028392e87c851b30e7d6dddb989
4 files changed
tree: 8bd2eed63e62c81ee09bad161e72e3f953fe27b2
  1. src/
  2. Android.mk
  3. COPYING
  4. MODULE_LICENSE_APACHE2