Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

I tried to implement HTTP server with cpp-netlib. Actually I could succeed to create a simple http server. But now I don't know how to set Access-Control-Allow-Origin option to my server. This ...
jef's user avatar
  • 4,093
2 votes
1 answer
862 views

I'm trying to use boost and cpp-netlib. The static library of cpp-netlib is about 40m(release version), even linking to a small helloworld could be very slow. So I'd like to try dynamic dll+ import ...
aj3423's user avatar
  • 3,171
1 vote
1 answer
239 views

I'm trying to build cpp-netlib using cmake from cygwin. However cmake try to find the package without the lib prefix. And -DBoost_USE_STATIC_LIBS=ON won't resolve the problem! Here is my command line:...
rcorreia's user avatar
  • 559
1 vote
0 answers
536 views

I'm building a crossplateform application and I'm trying to do some network request using cpp-netlib on ios. So far so good, until I use the call back function of cpp-netlib to avoid waiting for an ...
jcparis's user avatar
  • 105
1 vote
2 answers
981 views

I'm trying to use cpp-netlib with Visual Studio 2010. I've built cpp-netlib and add .lib files to my project, but I can't compile them. --Environment Windows 7 x64 cpp-netlib 0.11.0 boost 1.55.0 ...
kirin's user avatar
  • 1,980
5 votes
1 answer
5k views

I am trying to compile cpp-netlib with cmake. My config: OS X 10.9.1 Mavericks + Xcode 5.0.2 cpp-netlib 0.11.0 cmake 2.8.12.2 Boost 1.55.0 Because I am trying to make the whole thing work with OS X ...
simon's user avatar
  • 560
0 votes
1 answer
242 views

I'm trying to get c++ netlib 0.11.0 working with Visual Studio 2013, and I'm having quite a difficult time. I placed the netlib main folder in my visual studio folder, and I set the include directory ...
xcdemon05's user avatar
  • 726
3 votes
1 answer
2k views

I've successfully compiled boost using the cross compiler (used the instructions from Installing Raspberry Pi Cross-Compiler) and it worked just fine. I moved the lib and the include into the rootfs ...
g3rv4's user avatar
  • 19.8k
0 votes
1 answer
3k views

I have the below code executing in a loop which has exception handling. using namespace boost::network; http::client client; http::client::request request("https://testserver....
user246181's user avatar
-1 votes
1 answer
4k views

Here is the top part of my code, #include <iostream> #include <istream> #include <fstream> #include <vector> #include <string> #include <algorithm> #include <...
user246181's user avatar
4 votes
1 answer
14k views

I'm a newbie to cmake (2.8.12.1) and I'm using it on Windows to generate the project files to build cpp-netlib using Visual Studio 2012. By default it compiles with the /MDd compiler switch. I want ...
ksl's user avatar
  • 4,739
2 votes
1 answer
2k views

I have a http client that I wrote in python in tornado framework: http_client = httpclient.HTTPClient() request = httpclient.HTTPRequest("http://127.0.0.1:8000", method='PUT', body=str("data")) ...
soroosh.strife's user avatar
1 vote
1 answer
1k views

I tried to do this in MSys git bash on my win 8.1 with MSVC 12 installed, and the latest cmake and git: $> git clone https://github.com/cpp-netlib/cpp-netlib.git $> cd cpp-netlib $> git ...
dzada's user avatar
  • 5,954
21 votes
2 answers
6k views

How can one use cpp-netlib to implement a HTTPS-server? cpp-netlib can be used as a HTTP server (see service selector, handler and main in my example code). With boost::asio setting up a SSL ...
Kasper van den Berg's user avatar
2 votes
1 answer
1k views

When running the Cpp-netlib (version 0.11-rc1) [edit (addition)] code copied from [/edit] HttpClient example does not finish. I assume it's because the connection is left open. 1. Is my assumption ...
Kasper van den Berg's user avatar
0 votes
0 answers
567 views

I'm trying to implement HTTP Digest authentication in a server based on cpp-netlib and I'm not sure how to tackle the issue that the username attribute in the authorization header could contain ...
Rudolfs Bundulis's user avatar
1 vote
1 answer
105 views

I want to be able to get HTTP request header values that contain utf8 characters in a server built with cpp-netlib. I understand that there are two kind of wrapper classes for requests and responses ...
Rudolfs Bundulis's user avatar
3 votes
1 answer
1k views

I've begun developing an HTTP server using cpp-netlib (stable release 0.10.1) and from the available documentation I am not sure how to access HTTP request headers in a server handler. I am aware that ...
Rudolfs Bundulis's user avatar
0 votes
1 answer
1k views

I'm trying to install netlib on my ubuntu 12.04. Since it needs libboost to be installed I installed libboost using: sudo apt-get install libboost-all-dev but here is the problem when I'm trying to ...
soroosh.strife's user avatar
2 votes
1 answer
654 views

I've got both the Boost and cpp-netlib libraries installed on my Win7 machine. In Eclipse, under my C++ project settings, I add the following include directories C:\boost_1_53_0 C:\cpp-netlib-0.10.1 ...
JLindsey's user avatar
  • 710
0 votes
0 answers
170 views

I am trying to link against cppnetlib-0.9.4 ,but I don't know what argument to pass to find_package in CMake for using the libraries?
Sarfraj's user avatar
  • 312
1 vote
1 answer
251 views

I am using CMake to generate my make file. However, in one of my files, I need to use boost::network::uri::valid(uri_). So I have included the header file (#include boost/network/uri.hpp) and I am ...
Sarfraj's user avatar
  • 312
2 votes
0 answers
210 views

I've run into a very very hairy issue. My end goal is to build the cpp-netlib. cpp-netlib uses C++-11, it was throwing linker errors with original boost build in my machine. The reason I'd built boost ...
subramanian's user avatar
  • 1,035
4 votes
0 answers
408 views

I want some server for my post or put request in cpp.I have choose netlib.. so i want to know that can we upload some xml or json file from put or post request in netlib. Can anyone answer this ...
Vishnu Lal's user avatar
12 votes
3 answers
6k views

I would like to use the Library cpp-netlib for a C++ project. Therefore I installed the boost library with the help of homebrew (OS is Mac OS X 10.8). Then I downloaded cpp-netlib from the projects ...
user1462040's user avatar
0 votes
1 answer
404 views

I have a constructor that creates two threads of a server (I am using the cpp-netlib library). The weird problem that I am getting is that even though I don't call servlet1.join() and servlet2.join() ...
marcoo's user avatar
  • 869
0 votes
2 answers
1k views

I am having some trouble understanding the cpp netlib documentation. member name type description headers vector<header> Vector of headers. A header is a struct of type ...
marcoo's user avatar
  • 869
4 votes
1 answer
1k views

For compiling the C++ Net Lib project under Windows with Visual Studio 2008, I need to disable the Concept Check (see this thread : https://groups.google.com/forum/#!msg/cpp-netlib/G-hM25EnCWA/...
Gaetan's user avatar
  • 488
0 votes
1 answer
1k views

I am using cpp-netlib-0.9.4 with Visual Studio 2010. I have a function make_header which is like this: http::client::request* Interface::make_request_header(const string& uri) { string url = ...
Rajat's user avatar
  • 1,834
4 votes
1 answer
3k views

I'm trying to do asynchronous http requests using cpp-netlib. I couldn't find any examples of this in the documentation, as a result can't even get it to compile. My current attempt is below (with ...
Arman's user avatar
  • 1,114
4 votes
0 answers
2k views

I spent half of the day today unsuccessfully trying to install cpp-netlib on Mac OS X (the goal is to implement asynchronous http requests in C++). When I do 'make' to build and run the tests, I have ...
Arman's user avatar
  • 1,114
10 votes
1 answer
5k views

I want to use the cpp-netlib library in a C++ project of mine running on Windows. I've strictly followed the instructions under http://cpp-netlib.github.com/getting_started.html up to the "Getting ...
user181218's user avatar
  • 1,701
5 votes
2 answers
4k views

Will Boost build in entirety on Solaris? I'd like to know if anyone has success with this (specifically Proto/Spirit) before I go and pay for a support contract to patch Sun Studio 12.2 to the ...
chrism's user avatar
  • 561
2 votes
2 answers
2k views

I would like to know if it is possible to get the binaries for the static library for windows (x86 and x64) now present in cpp-netlib for the version 0.9.1? Frankly it is a pain to compile this on ...
lollancf37's user avatar
  • 1,125
1 vote
1 answer
2k views

I am trying to build the cpp-netlib library from Visual Studio 2010 but get the following linker error: error LNK2019: unresolved external symbol "bool __cdecl boost::network::uri::detail::...
David Hall's user avatar
  • 33.3k
0 votes
1 answer
348 views

cpp_netlib docs contains example HTTP client, but I see it works only in blocking mode: http_client::response response = client.get(request); -- this (as I guess) will stop program execution while ...
soulmare's user avatar

1
2