diff options
author | drebs <drebs@leap.se> | 2017-11-23 16:05:51 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-11-29 13:08:26 -0200 |
commit | 02c6c19687fac181ef3e3250f8de5dd85e10d11e (patch) | |
tree | a43195aca948231c1c3a3d5fe0d648d1947885e2 /pkg | |
parent | 106dc814118d05a26861ba2e3c3d83f7e2764f96 (diff) |
[feature] add bandwidth throttling to the client
Intercept the creation of the protocol factory in the HTTP connection
pool to use twisted.protocols.policies.ThrottlingFactory and control the
incoming and outgoing bandwidth.
The factory only controls one connection, so when throttling we limit
the number of connections of the pool to one per host. This way,
throttling happens in a per-host basis.
Closes: #8931
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions