From b.rowlingson at lancaster.ac.uk  Mon May 26 19:48:11 2003
From: b.rowlingson at lancaster.ac.uk (b.rowlingson@lancaster.ac.uk)
Date: Mon May 26 18:48:24 2003
Subject: [Rd] internet.R test hangs if http proxy needed (PR#3108)
Message-ID: <200305261648.h4QGmB2b015467@pubhealth.ku.dk>

Full_Name: Barry Rowlingson
Version: 1.7.0
OS: RH8/Mandrake 9.1
Submission from: (NULL) (194.80.32.8)


internet.R in the tests directory hangs during 'make check' if an http proxy is
needed for http access from the machine. This happens in the httpget function
defined therein.

It tries to make a direct socket connection to port 80 of a remote machine, and
if local network policy does not permit that, then the test can hang. 

A fix? Perhaps skip that test if Sys.getenv("http_proxy") is defined. Or rewrite
httpget to use the proxy if defined.

Barry


[Rd] internet.R test hangs if http proxy needed (PR#3108)
b.rowlingson@lancaster.ac.uk