
Hi Christian!
Sorry for the late response, I've been on vacation the past few days
and I'm only getting back to the mail backlog.
Please see some thoughts below:
On Mon, Nov 1, 2010 at 4:30 AM, Christian Henning
Hi there, I'm trying to run http_client.cpp taken from the netlib examples. But unfortunately it's throwing a lot of exceptions.
The line:
cout << body(response) << endl;
results into the following exceptions:
[snip] It looks like there was an error encountered while trying to fetch the URL you provided. It also looks like you're using the asynchronous client implementation -- that particular implementation does throw the exceptions that it encounters while trying to process the HTTP request made in your program's behalf. Underneath it uses Boost.Thread future's to wait for the data that should be retrieved by the HTTP client. I'm looking at the examples that come with the library -- can you be more specific as to which one you're trying to run?
here is my stack:
[snip]
From that stack trace it looks like you're really using the asynchronous client. Can you send me the source of the test_netlib.cpp file?
I'm using boost trunk with Visual Studio 10 compiling x64 bit code.
Anyone any idea what going on here?
It's really hard to tell, but it just looks like cpp-netlib is having a hard time fetching data from the URL you provided.
Thanks,
HTH -- Dean Michael Berris deanberris.com