I'm discovering Asio, and it seems to be a great library.
I'm using the standalone header-only version with C++11 on win7 with
mingw32 g++ 4.8.1.
I tried to build manually (i did not find any automated makefile for
standalone) the cpp11/http/server.
I used the following options :
-pedantic -std=c++11 -Wall -fexceptions -DASIO_STANDALONE
It does compile and link fine, except a little :
has different size
Then i launch it as follows : test_asio_http_server.exe 127.0.0.1 80 .
All is good (at least, nothing is written on the output), until i try to
connect with my browser at http://127.0.0.1/
Then, comes a wonderful segfault. The nearest the debugger can go before
sigsegv is at line 72 in server.cpp in the call to
Could you please help me with this issue ?