cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c src/usr.sbin/portsnap/portsnap portsnap.sh

Ceri Davies ceri at submonkey.net
Fri May 5 08:26:13 UTC 2006


On Fri, May 05, 2006 at 04:47:00AM +0000, Colin Percival wrote:
> cperciva    2006-05-05 04:47:00 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/portsnap/phttpget phttpget.c 
>     usr.sbin/portsnap/portsnap portsnap.sh 
>   Log:
>   Allow the HTTP_PROXY environment variable to be (mis)spelled as
>   "http_proxy", since some people apparently do this and fetch(3)
>   allows it.

lynx uses it too.  Also, the format can be slightly different:

% set |grep -ai http   
HTTP_PROXY=www-cache.private.submonkey.net:3128
http_proxy=http://www-cache.private.submonkey.net:3128/

I don't think that the readenv function in phttpget.c deals with that
trailing slash at the moment.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060505/a4cdba82/attachment.pgp


More information about the cvs-src mailing list