[darcs-devel] darcs using Network.HTTP

David Roundy droundy at darcs.net
Tue Jan 8 22:28:19 UTC 2008


On Tue, Jan 08, 2008 at 02:02:47PM -0800, John Meacham wrote:
> Hi, out of curiosity, why does darcs not use the Network.HTTP native
> haskell http library (http://www.haskell.org/http/) instead of
> attempting to use libcurl or libwww?
> 
> are the reasons just historical, and if so would moving to Network.HTTP
> be something that is wanted?

It's partly historical (darcs predates Network.HTTP), and partly (in the
case of libwww) because Network.HTTP does not support pipelining (which is
the motivation behind the recent work).  At least, that's been my
impression.  There's also the (in practice, minor) factor that Network.HTTP
supports fewer protocols.

Adding support for Network.HTTP would be great--as a compile-time
alternative.
-- 
David Roundy
Department of Physics
Oregon State University


More information about the darcs-devel mailing list