[darcs-users] should darcs use the curl binding on hackage?

Dmitry Kurochkin dmitry.kurochkin at gmail.com
Mon Mar 16 09:07:26 UTC 2009


2009/3/16 Eric Kow <kowey at darcs.net>:
> I'm CC'ing Sigbjorn (the current maintainer of the curl package on hackage) in
> case he has any comments on the matter.
>
> Sigbjorn: darcs currently uses its own binding on libcurl.  We're quite
> interested in paring darcs down as much as possible, outsourcing anything that
> doesn't need to be done in-house.  We might be interested in using the curl
> binding.  Do you think it would be straightforward to address concerns below?
>
> Many thanks!
>
> On Mon, Mar 16, 2009 at 10:09:12 +1100, Trent W. Buck wrote:
>> While we're on the subject, has anyone evaluated using external
>> haskell/curl bindings?
>>
>> $ cabal list curl
>> * curl
>>     Synopsis: Haskell binding to libcurl
>>     Latest version available: 1.3.4
>>     Latest version installed: [ Not installed ]
>>     License:  BSD3
>
> I think Dmitry has pointed out that the current bindings do not support
> HTTP pipelining.

AFAIK haskell curl bindings support only easy libcurl API. Easy API
was used by darcs before pipelining support. To use pipelining we need
multi curl API support. IMHO it is much more work to provide bindings
to curl multi API.

Regards,
  Dmitry

>
> Also for his work on camp, Ian is avoiding it because of the following
> concerns he has about it
>
>  * Hardcoded constants
>  * Explicit global withCurlDo, but individual instances get finalisers which
>   thus may not run before global cleanup?
>  * -fvia-C in options pragmas, including generating warnings from the mangler
>
> Thanks!
>
> --
> Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
> PGP Key ID: 08AC04F9
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkm+DxIACgkQBUrOwgisBPnzwACg2fOT75isNq0jTJiKTQPTOgML
> ZTAAn3Np4i7iqwHB/O3m1cL3lmyZEMlm
> =xLPy
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users
>
>


More information about the darcs-users mailing list