Adding portsnap to the base system

Dag-Erling Smørgrav des at des.no
Fri Aug 12 11:49:46 GMT 2005


Colin Percival <cperciva at freebsd.org> writes:
> M. Warner Losh wrote:
> > Is there some reason you've reinvated fetch as well?  What does
> > phttpget do that fetch(1) or fetch(3) doesn't?  The only thing that
> > looks like it might is pipelining mode, which would be better in the
> > base fetch program, imho.
> Yes, pipelined HTTP.  Basically, I spent six months on-and-off, and
> at least two weeks of actual work, trying to fit pipelined HTTP into
> fetch(3)... but the design of that library is all around the idea of
> fetching a single file at once.  In the end I gave up and wrote my
> own code (phttpget) in under 24 hours.

You are mistaken.  Pipelined HTTP can be implemented in libfetch with
the same ease (and the same limitations) as FTP connection caching,
which was included from the start.

DES
-- 
Dag-Erling Smørgrav - des at des.no



More information about the freebsd-arch mailing list