[arch-commits] Commit in geoclue2/trunk (https.patch)

Jan Steffens heftig at nymeria.archlinux.org
Sun Feb 16 16:10:31 UTC 2014


    Date: Sunday, February 16, 2014 @ 17:10:31
  Author: heftig
Revision: 206064

add patch

Added:
  geoclue2/trunk/https.patch

-------------+
 https.patch |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Added: https.patch
===================================================================
--- https.patch	                        (rev 0)
+++ https.patch	2014-02-16 16:10:31 UTC (rev 206064)
@@ -0,0 +1,25 @@
+From 12804f7e2e569f7f3a0879d740a62b3e34ae6e36 Mon Sep 17 00:00:00 2001
+From: Stefan Bernhardsgrütter <s.bernhardsgruetter at 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




More information about the arch-commits mailing list