simple patch for portsnap to use wget

Ronald Klop ronald-freebsd8 at klop.yi.org
Wed Nov 28 10:47:17 UTC 2012


On Wed, 28 Nov 2012 09:52:57 +0100, Luca Ferrari <fluca1978 at infinito.it>  
wrote:

>> Certainly not with a dependency on wget, which is not part of the base
>> system. Use fetch instead.
>>
>
> Right, so I'm wondering why not using fetch instead of phttpget by  
> default.

Phttpget is more efficient because it uses http pipelining.
http://www.daemonology.net/phttpget/

> However I've rewritten everything so that now it allows for the
> configuration of fetch or not. The only change is that in the case of
> fetch the server name must be used with a protocol since fetch expects
> a full URL and not a server name.
>
> I vote for using fetch by default instead of phttpget.

Why not fix the original problem (of url parsing) in phttpget?

>
> Regards,
> Luca

Ronald.


More information about the freebsd-stable mailing list