add_definitions(-DBOOST_ENABLE_ASSERT_HANDLER)
+add_definitions(-DBOOST_BIND_GLOBAL_PLACEHOLDERS)
- # explicitly do not use new c++ 11 features for websocketpp
- # they currently do not work with our source
+ # test directory
+ set(TESTS_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tests/cpp" CACHE STRING "Test includes")
diff --git a/src/cpp/core/system/PosixChildProcessTracker.cpp b/src/cpp/core/system/PosixChildProcessTracker.cpp
index 2ee1a81..976da4f 100644
--- a/src/cpp/core/system/PosixChildProcessTracker.cpp
- lib::ref(*service));
+ m_socket.reset(new boost::asio::ip::tcp::socket(*service));
- if (m_socket_init_handler) {
- m_socket_init_handler(m_hdl, *m_socket);
+ m_state = READY;
+
diff --git a/websocketpp/transport/asio/security/tls.hpp b/websocketpp/transport/asio/security/tls.hpp
index c76fd9aa..04ac3790 100644
--- a/websocketpp/transport/asio/security/tls.hpp
- _WEBSOCKETPP_REF(*service),lib::ref(*m_context));
+ m_socket.reset(new socket_type(*service, *m_context));
- if (m_socket_init_handler) {
- m_socket_init_handler(m_hdl, get_socket());
+ m_io_service = service;
+ m_strand = strand;