Package: metar
Version: 20050103.1-2
Severity: wishlist
Tags: patch

HTTP, for various reasons, usually incurs a *lot* lower latency for
setting up the connection than FTP.  The difference is dramatic for me:
with FTP, 1.6 to 4.4 sec; with HTTP, 0.16 to 0.18 sec.

--- metar-20050103.1/src/metar.h~       2004-12-28 11:56:21.000000000 -0600
+++ metar-20050103.1/src/metar.h        2005-04-05 01:28:31.000000000 -0500
@@ -24,7 +24,7 @@
 #define  METAR_MAXSIZE 512
 
 /* where to fetch reports */
-#define  METARURL "ftp://weather.noaa.gov/data/observations/metar/stations";
+#define  METARURL 
"http://weather.noaa.gov/pub/data/observations/metar/stations";
 
 /* clouds */
 typedef struct {

Attachment: signature.asc
Description: Digital signature

Reply via email to