commit | d5e25502a3ed333011753d5f2e1484072a7f5617 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Fri Oct 24 15:58:48 2014 +0100 |
committer | Neil Fuller <nfuller@google.com> | Mon Oct 27 10:27:57 2014 +0000 |
tree | 8bd2eed63e62c81ee09bad161e72e3f953fe27b2 | |
parent | 2f7659c426de53122ee7922b0981058a900124a7 [diff] |
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