Merge ~pappacena/launchpad:https-mirror-prober-proxy-fix into launchpad:master
Proposed by
Thiago F. Pappacena
Status: | Merged |
---|---|
Approved by: | Thiago F. Pappacena |
Approved revision: | 931d52c0bc2e333a611bb9c513fd61b950dba9ad |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~pappacena/launchpad:https-mirror-prober-proxy-fix |
Merge into: | launchpad:master |
Diff against target: |
269 lines (+130/-41) 4 files modified
lib/lp/registry/scripts/distributionmirror_prober.py (+16/-8) lib/lp/registry/tests/test_distributionmirror_prober.py (+10/-33) lib/lp/services/httpproxy/__init__.py (+0/-0) lib/lp/services/httpproxy/connect_tunneling.py (+104/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+380650@code.launchpad.net |
Commit message
Adding a HTTPS proxy-CONNECT for twisted, and using it for HTTPS mirrors prober.
Description of the change
- Added a new type of HTTP Agent at lp.services.
- Changed the prober to use this new type of agent
To post a comment you must log in.
The lack of tests of the actual tunnelling agent is unfortunate, but from what you said yesterday I gather that getting tests of this to work is difficult. I'd suggest adding an XXX comment or filing a bug about this so that the untestedness isn't entirely forgotten.
Other than that, this seems worth a go. Thanks.