adapt for 32bit os.
This commit is contained in:
parent
46836a2d5f
commit
80ed62b4c7
@ -14,9 +14,7 @@ if(TARGET Boost::serialization)
|
|||||||
add_subdirectory(Encrypt)
|
add_subdirectory(Encrypt)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(TARGET Boost::url)
|
|
||||||
add_subdirectory(HttpProxy)
|
add_subdirectory(HttpProxy)
|
||||||
endif()
|
|
||||||
|
|
||||||
if(TARGET Qt${QT_VERSION_MAJOR}::Core)
|
if(TARGET Qt${QT_VERSION_MAJOR}::Core)
|
||||||
add_subdirectory(QtComponets)
|
add_subdirectory(QtComponets)
|
||||||
|
@ -13,7 +13,7 @@ add_library(HttpProxy
|
|||||||
|
|
||||||
target_include_directories(HttpProxy
|
target_include_directories(HttpProxy
|
||||||
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
|
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
PRIVATE ${OPENSSL_INCLUDE_DIR}
|
PRIVATE ${OpenSSL_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(HttpProxy
|
target_link_libraries(HttpProxy
|
||||||
|
@ -19,7 +19,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
boost::asio::ip::tcp::resolver m_resolver;
|
boost::asio::ip::tcp::resolver m_resolver;
|
||||||
std::optional<boost::beast::http::request_parser<boost::beast::http::string_body>> m_parser;
|
std::optional<boost::beast::http::request_parser<boost::beast::http::string_body>> m_parser;
|
||||||
boost::beast::flat_buffer m_buffer{std::numeric_limits<std::uint64_t>::max()};
|
boost::beast::flat_buffer m_buffer{std::numeric_limits<std::uint32_t>::max()};
|
||||||
boost::beast::tcp_stream m_clientStream;
|
boost::beast::tcp_stream m_clientStream;
|
||||||
boost::beast::tcp_stream m_serverStream;
|
boost::beast::tcp_stream m_serverStream;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user