diff options
author | Marcus Müller <marcus.mueller@ettus.com> | 2020-03-20 14:32:30 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-03-20 15:44:17 -0500 |
commit | b721621237c0cd4150e9310cf443d4fb3a735388 (patch) | |
tree | 371d1beb53ab4fe584077407d4f83e68c5c4ee6c /host/utils | |
parent | b296b26053d4437b8ae97e3df415a3d041b7b51e (diff) | |
download | uhd-b721621237c0cd4150e9310cf443d4fb3a735388.tar.gz uhd-b721621237c0cd4150e9310cf443d4fb3a735388.tar.bz2 uhd-b721621237c0cd4150e9310cf443d4fb3a735388.zip |
utils: uhd_images_downloader: use HTTPS instead of HTTP to avoid redirect
Since the webserver responding to requests at http://files.ettus.com
replies with a redirect to the same URL, but using the https://
transport, this isn't only the safer thing we should be doing, anyways,
but also the quicker, since it saves the user from one unnecessary
redirect.
Diffstat (limited to 'host/utils')
-rw-r--r-- | host/utils/uhd_images_downloader.py.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/uhd_images_downloader.py.in b/host/utils/uhd_images_downloader.py.in index 0e5cc8ed6..87dc9b3e3 100644 --- a/host/utils/uhd_images_downloader.py.in +++ b/host/utils/uhd_images_downloader.py.in @@ -64,7 +64,7 @@ except ImportError: _DEFAULT_TARGET_REGEX = "(fpga|fw|windrv)_default" _BASE_DIR_STRUCTURE_PARTS = ["share", "uhd", "images"] _DEFAULT_INSTALL_PATH = os.path.join("@CMAKE_INSTALL_PREFIX@", *_BASE_DIR_STRUCTURE_PARTS) -_DEFAULT_BASE_URL = "http://files.ettus.com/binaries/cache/" +_DEFAULT_BASE_URL = "https://files.ettus.com/binaries/cache/" _INVENTORY_FILENAME = "inventory.json" _CONTACT = "support@ettus.com" _DEFAULT_BUFFER_SIZE = 8192 |