diff options
author | Emilien Macchi <emilien@redhat.com> | 2017-10-19 14:39:36 -0700 |
---|---|---|
committer | Vincent S. Cojot <vincent@cojot.name> | 2017-11-02 21:49:00 +0000 |
commit | 1b1739c5ebf677ba12ad53a6b11785471e5f52b5 (patch) | |
tree | 48807fb0901d4d3421c5a4102cd7ded0d0099cc5 /common | |
parent | 7bfae61023d34043d8fe9523f88febac6e7597be (diff) |
RHSM: when using proxy, test its connectivity first
When using RHSM with a proxy, we want to make sure the proxy can be
reached. This patch verify that a tcp socket can be open from the client
to the proxy.
This patch also does a bit of refactoring:
- --retry-delay 10 --max-time 30 is now used in a parameter everytime we
use curl.
- proxy options are now used everytime curl is used, even for detecting
which version of Satellite is running, now we use proxy options.
Co-Authored-By: Vincent S. Cojot <vincent@cojot.name>
Change-Id: I4dcac1528c10f698338383445e27c8a613f9bcd9
Closes-Bug: #1724970
(cherry picked from commit f4e46f4b3ddac3f536a3a1955c91447e8b26ffca)
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions