diff options
Diffstat (limited to 'extra/geoclue2/https.patch')
-rw-r--r-- | extra/geoclue2/https.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/geoclue2/https.patch b/extra/geoclue2/https.patch new file mode 100644 index 000000000..e4eb4e5c9 --- /dev/null +++ b/extra/geoclue2/https.patch @@ -0,0 +1,25 @@ +From 12804f7e2e569f7f3a0879d740a62b3e34ae6e36 Mon Sep 17 00:00:00 2001 +From: Stefan Bernhardsgrütter <s.bernhardsgruetter@gmail.com> +Date: Thu, 02 Jan 2014 13:01:25 +0000 +Subject: ipclient: Use HTTPS to connect to geoip.fedoraproject.org + +The actual resource is behind HTTPS so using HTTP leads to +redirections and thefore redundant TCP packets. +--- +(limited to 'src/gclue-ipclient.c') + +diff --git a/src/gclue-ipclient.c b/src/gclue-ipclient.c +index 492aa83..6f681f8 100644 +--- a/src/gclue-ipclient.c ++++ b/src/gclue-ipclient.c +@@ -31,7 +31,7 @@ + #include "geoip-server/geoip-server.h" + #include "geocode-location.h" + +-#define GEOIP_SERVER "http://geoip.fedoraproject.org/city" ++#define GEOIP_SERVER "https://geoip.fedoraproject.org/city" + + /** + * SECTION:gclue-ipclient +-- +cgit v0.9.0.2-2-gbebe |