Hi James,

James Berry <[EMAIL PROTECTED]> writes:

> With this change you've made Mac prefer using a sockets based
> netaccessor over either curl or the macosnative netaccessor, either of
> which I'd think is more functional than sockets.

Thanks for reviewing the changes. The idea of by default preferring
socket net accessor over curl on all platforms is that we don't want
to silently introduce extra dependencies for Xerces-C++ library just
because the user happened to have libcurl installed. Users who want
extra functionality of curl can always request it explicitly.

Now as for why not preferring cfurl over socket on OS X (with
neither adding any extra dependencies, ASAIK), is that I got an
impression that the OS X-specific APIs that are used are deprecated
and/or not safe in certain circumstances (see, for example, the
recent "Xerces crashes after fork on OS X 10.5" thread on c-dev).
I am by no means a Mac OS X expert but I think it makes sense to
move away from OS X-specific APIs to POSIX unless there are
significant advantages in using these APIs. Are there any such
advantages?

Thanks,
Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to