Fixes to some CI targets

This commit is contained in:
Vinnie Falco
2019-02-22 04:58:26 -08:00
parent 90b783cb62
commit c5af2e7fcc
4 changed files with 7 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ project /boost/beast
<target-os>solaris:<define>__EXTENSIONS__
<target-os>solaris:<library>socket
<target-os>solaris:<library>nsl
<target-os>windows:<define>_WIN32_WINNT=0x0501
<target-os>windows:<define>_WIN32_WINNT=0x0601
<target-os>windows,<toolset>cw:<library>ws2_32
<target-os>windows,<toolset>cw:<library>mswsock
<target-os>windows,<toolset>gcc:<library>ws2_32

View File

@@ -495,8 +495,9 @@ public:
DetectHandler_&& handler,
AsyncReadStream& stream,
DynamicBuffer& buffer)
: async_op_base<DetectHandler_,
executor_type<AsyncReadStream>>(
: beast::async_op_base<
DetectHandler_,
beast::executor_type<AsyncReadStream>>(
std::forward<DetectHandler_>(handler),
stream.get_executor())
, stream_(stream)

View File

@@ -41,6 +41,8 @@ class stream<NextLayer, deflateSupported>::handshake_op
{
struct data
{
data() = default; // for msvc
// VFALCO This really should be two separate
// composed operations, to save on memory
http::request<http::empty_body> req;

View File

@@ -157,7 +157,7 @@ struct test_acceptor
a.set_option(
net::socket_base::reuse_address(true));
a.bind(ep);
a.listen(1);
a.listen(net::socket_base::max_listen_connections);
ep = a.local_endpoint();
a.async_accept(
[](error_code, net::ip::tcp::socket)