Simple HTTP support

Jonas Drewsen jdrewsen at nospam.com
Sat Feb 26 14:17:16 PST 2011


On 25/02/11 20.26, Andrei Alexandrescu wrote:
> On 2/25/11 10:36 AM, Jonas Drewsen wrote:
>> On 25/02/11 16.01, Andrei Alexandrescu wrote:
>>> 1. A declarations module for libcurl. We'd put that in etc. You wouldn't
>>> even need to go through the review process, the need and the benefits
>>> are obvious. Nobody has had a chance to do that yet.
>>
>> Libcurl declarations could be a way forward. As far as I can see from
>> the phobos makefiles there really isn't any dependencies on anything
>> other than standard system libraries and zlib. In order to support the
>> full curl API the following libs are listed as optional dependencies.
>>
>> I guess it would not be a good idea to include the source for all these
>> like it is done with zlib in etc. So how should this be handled? Should
>> all optional deps just be opted out? Alternatively they could be
>> statically linked in the binary distribution of phobos?
>
> At this point this is open to discussion - in this very group. Perhaps
> the nicest way would be to automatically adapt to whatever is installed
> on the user's platform.

Adapt at compile time or at run time (e.g. using dlopen() calls)?

/Jonas



More information about the Digitalmars-d mailing list