Add http-parser to boost_asio

This commit is contained in:
Vinnie Falco
2013-09-05 08:09:41 -07:00
parent 85ced3dbf7
commit f79b34b2c9
3 changed files with 36 additions and 0 deletions

View File

@@ -23,6 +23,11 @@
#include "beast_asio.h"
namespace http_parser
{
#include "parsehttp/http_parser.h"
}
namespace beast
{
@@ -49,3 +54,18 @@ namespace beast
#include "system/beast_BoostUnitTests.cpp"
}
//------------------------------------------------------------------------------
#ifdef _MSC_VER
#pragma warning (push)
#pragma warning (disable: 4127) // conditional expression is constant
#pragma warning (disable: 4244) // integer conversion, possible loss of data
#endif
namespace http_parser
{
#include "parsehttp/http_parser.c"
}
#ifdef _MSC_VER
#pragma warning (pop)
#endif