From: Dean M. B. <mik...@gm...> - 2010-06-03 14:21:44
|
Hi Fernando! On Thu, Jun 3, 2010 at 9:30 PM, Fernando Pelliccioni <fpe...@gm...> wrote: > Hello, > > I am new in the list. Welcome! :) > I write this because I want to talk to Dean or Glyn about the NetLib. You wrote to the right place. :D > > I downloaded cpp-netlib-0.5, cpp-netlib-0.6 and cpp-netlib-0.61yesterday. > I found some problems in the library. > Cool! :) > I tested the "Hello World Client" example on MSVC 9.0 on Windows XP. > The issues are: > > 1. Dependencies to OpenSSL. > The "boost/network/protocol/http/impl/sync_connection_base.hpp" > depends on "boost/network/protocol/http/impl/sync_connection_base.hpp" and > the las depends on "boost/asio/ssl.hpp" > > I am not using secure connections. > Yes, I'm working on it at the moment. On the 0.7-devel branch, I shall be pushing soon a fix that allows users to define the BOOST_NETWORK_NO_HTTPS command-line option to disable support for secure connections. I'm working on getting this tested as well locally to make sure that the examples and other things can be built without support for or dependency on OpenSSL. > > 2. Compilation error. > The "boost/network/uri/http/detail/parse_specific.hpp" file has the > following lines: > > if (not boost::iequals(parts.scheme.substr(0, 4), "http")) > > > and > > if (not boost::iequals(parts.scheme.substr(0, 5), "https")) > > > The keyword "not" is undeclared. > > Could be this way? > > #define not ! > This is a notorious problem with MSVC 8/9 -- which is not a problem with MSVC 10. I thought there was already a fix that should have fixed this, but I don't know the correct search term. Someone has already sent in a patch for this before, I can't believe it hasn't made it into the library yet! Does anybody remember what that file is that should be included to enable this in MSVC 8/9? > > 3. Async operations. > This is not an error, but I think the library should support > asynchronous operations, like ASIO. I have not found it. > I hear you, I'm working on it as I take a break and respond to you on the list. :) > > Sorry if this mail was sent to a wrong list. In this case, please tell me > where I can send. You sent it to the right list. :) > Count on me to lend a hand with the development of netlib > That sounds great! Thanks Fernando! :) -- Dean Michael Berris deanberris.com |